-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor!: update typescript interfaces using latest api-snippets (#297)
* refactor!: update typescript interfaces using latest api-snippets * chore: rebuild * chore: add comment * chore: wording * chore: resolve and ignore vulnerabilities
- Loading branch information
Showing
10 changed files
with
159 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
src/OutboundServer/api_template/components/schemas/quotesPostRequest.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
title: QuotesPostRequest | ||
type: object | ||
properties: | ||
fspId: | ||
fspId: | ||
title: destination DFSP requested to calculate the quote | ||
$ref: >- | ||
../../../../node_modules/@mojaloop/api-snippets/fspiop/v1_1/openapi3/components/schemas/FspId.yaml | ||
quotesPostRequest: | ||
$ref: >- | ||
../../../../node_modules/@mojaloop/api-snippets/thirdparty/openapi3/components/schemas/QuotesPostRequest.yaml | ||
required: | ||
../../../../node_modules/@mojaloop/api-snippets/thirdparty/v1_0/openapi3/components/schemas/QuotesPostRequest.yaml | ||
required: | ||
- fspId | ||
- quotesPostRequest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,7 @@ | |
"engines": { | ||
"node": ">=14.15" | ||
}, | ||
|
||
"scripts": { | ||
"audit:resolve": "SHELL=sh resolve-audit --production", | ||
"audit:check": "SHELL=sh check-audit --production", | ||
|
@@ -49,6 +50,12 @@ | |
"type": "git", | ||
"url": "[email protected]:mojaloop/sdk-scheme-adapter.git" | ||
}, | ||
"@comment dependencies": [ | ||
"koa2-oauth-server is an old unmaintained repo. It uses the now unsupported git protocol.", | ||
"Please see https://github.blog/2021-09-01-improving-git-protocol-security-github/ for more information.", | ||
"If you regenerate package-lock.json, you will manually have to update `git://` to `https://` on its", | ||
"dependencies." | ||
], | ||
"dependencies": { | ||
"@koa/cors": "^3.1.0", | ||
"@mojaloop/central-services-error-handling": "11.3.0", | ||
|
@@ -57,7 +64,7 @@ | |
"@mojaloop/central-services-metrics": "11.0.0", | ||
"@mojaloop/central-services-shared": "14.0.0", | ||
"@mojaloop/event-sdk": "10.7.1", | ||
"@mojaloop/sdk-standard-components": "15.13.0", | ||
"@mojaloop/sdk-standard-components": "^16.0.0", | ||
"ajv": "8.6.3", | ||
"ajv-keywords": "5.0.0", | ||
"axios": "^0.21.4", | ||
|
@@ -79,7 +86,7 @@ | |
"devDependencies": { | ||
"@babel/core": "^7.15.5", | ||
"@babel/preset-env": "^7.15.6", | ||
"@mojaloop/api-snippets": "^13.0.3", | ||
"@mojaloop/api-snippets": "^13.0.9", | ||
"@redocly/openapi-cli": "^1.0.0-beta.59", | ||
"@types/jest": "^27.0.1", | ||
"babel-jest": "^27.2.0", | ||
|