Skip to content

Commit

Permalink
chore(mojaloop/#3053): add support for subscenarios to sdk api and ho…
Browse files Browse the repository at this point in the history
…usekeeping (#152)

* chore(mojaloop/#3053): add support for subscenarios to sdk api

* chore: dep

* chore: change

* dep

* chore(snapshot): 17.0.2-snapshot.0

* chore: fix ts build

* chore(snapshot): 17.0.2-snapshot.1

* chore: remove ref siblings

* chore: sort
  • Loading branch information
kleyow committed Jan 9, 2023
1 parent 660148c commit 5e8db74
Show file tree
Hide file tree
Showing 20 changed files with 34,953 additions and 143,704 deletions.
3,769 changes: 1,704 additions & 2,065 deletions docs/sdk-scheme-adapter-backend-v2_0_0-openapi3-snippets.yaml

Large diffs are not rendered by default.

6,290 changes: 1,971 additions & 4,319 deletions docs/sdk-scheme-adapter-outbound-v2_0_0-openapi3-snippets.yaml

Large diffs are not rendered by default.

9,027 changes: 1,943 additions & 7,084 deletions docs/thirdparty-openapi3-snippets.yaml

Large diffs are not rendered by default.

1,313 changes: 765 additions & 548 deletions package-lock.json

Large diffs are not rendered by default.

28 changes: 14 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mojaloop/api-snippets",
"version": "17.0.1",
"version": "17.0.2-snapshot.1",
"description": "Mojaloop API specification reusable snippets",
"main": "lib/index.js",
"types": "lib/index.d.ts",
Expand All @@ -22,11 +22,11 @@
"build:openapi": "npm run build:v1.0; npm run build:v1.1; npm run build:thirdparty; npm run build:sdk-scheme-adapter:backend; npm run build:sdk-scheme-adapter:outbound;",
"build:v1.0": "openapi bundle --output docs/fspiop-rest-v1.0-openapi3-snippets.yaml --ext yaml fspiop/v1_0/openapi3/openapi.yaml && swagger-cli validate docs/fspiop-rest-v1.0-openapi3-snippets.yaml",
"build:v1.1": "openapi bundle --output docs/fspiop-rest-v1.1-openapi3-snippets.yaml --ext yaml fspiop/v1_1/openapi3/openapi.yaml && swagger-cli validate docs/fspiop-rest-v1.1-openapi3-snippets.yaml",
"build:thirdparty": "openapi bundle --dereferenced --output docs/thirdparty-openapi3-snippets.yaml --ext yaml thirdparty/v1_0/openapi3/openapi.yaml && swagger-cli validate docs/thirdparty-openapi3-snippets.yaml",
"build:thirdparty": "openapi bundle --output docs/thirdparty-openapi3-snippets.yaml --ext yaml thirdparty/v1_0/openapi3/openapi.yaml && swagger-cli validate docs/thirdparty-openapi3-snippets.yaml",
"build:thirdparty-dfsp": "swagger-cli bundle -o ./thirdparty/v1_0/openapi3/thirdparty-dfsp-api.yaml -t yaml ./thirdparty/v1_0/openapi3/thirdparty-dfsp-api.template.yaml",
"build:thirdparty-pisp": "swagger-cli bundle -o ./thirdparty/v1_0/openapi3/thirdparty-pisp-api.yaml -t yaml ./thirdparty/v1_0/openapi3/thirdparty-pisp-api.template.yaml",
"build:sdk-scheme-adapter:backend": "openapi bundle --dereferenced --output docs/sdk-scheme-adapter-backend-v2_0_0-openapi3-snippets.yaml --ext yaml sdk-scheme-adapter/v2_0_0/backend/openapi.yaml && swagger-cli validate docs/sdk-scheme-adapter-backend-v2_0_0-openapi3-snippets.yaml",
"build:sdk-scheme-adapter:outbound": "openapi bundle --dereferenced --output docs/sdk-scheme-adapter-outbound-v2_0_0-openapi3-snippets.yaml --ext yaml sdk-scheme-adapter/v2_0_0/outbound/openapi.yaml && swagger-cli validate docs/sdk-scheme-adapter-outbound-v2_0_0-openapi3-snippets.yaml",
"build:sdk-scheme-adapter:backend": "openapi bundle --output docs/sdk-scheme-adapter-backend-v2_0_0-openapi3-snippets.yaml --ext yaml sdk-scheme-adapter/v2_0_0/backend/openapi.yaml && swagger-cli validate docs/sdk-scheme-adapter-backend-v2_0_0-openapi3-snippets.yaml",
"build:sdk-scheme-adapter:outbound": "openapi bundle --output docs/sdk-scheme-adapter-outbound-v2_0_0-openapi3-snippets.yaml --ext yaml sdk-scheme-adapter/v2_0_0/outbound/openapi.yaml && swagger-cli validate docs/sdk-scheme-adapter-outbound-v2_0_0-openapi3-snippets.yaml",
"build:schemas:sdk-scheme-adapter:backend": "npx ts-node --transpile-only src/scripts/json-schema-generator.ts docs/sdk-scheme-adapter-backend-v2_0_0-openapi3-snippets.yaml src/sdk-scheme-adapter/v2_0_0/backend",
"build:schemas:sdk-scheme-adapter:outbound": "npx ts-node --transpile-only src/scripts/json-schema-generator.ts docs/sdk-scheme-adapter-outbound-v2_0_0-openapi3-snippets.yaml src/sdk-scheme-adapter/v2_0_0/outbound",
"lint": "eslint --ext ts --ext js test src",
Expand Down Expand Up @@ -68,7 +68,7 @@
"license": "Apache-2.0",
"dependencies": {
"@apidevtools/json-schema-ref-parser": "^9.1.0",
"commander": "^9.4.1",
"commander": "^9.5.0",
"jest-ts-auto-mock": "^2.1.0",
"js-yaml": "^4.1.0",
"json-refs": "^3.0.15",
Expand All @@ -82,15 +82,15 @@
"@types/responselike": "^1.0.0"
},
"devDependencies": {
"@commitlint/cli": "^17.3.0",
"@commitlint/config-conventional": "^17.3.0",
"@commitlint/cli": "^17.4.1",
"@commitlint/config-conventional": "^17.4.0",
"@redocly/openapi-cli": "^1.0.0-beta.94",
"@types/jest": "^29.2.4",
"@typescript-eslint/eslint-plugin": "^5.46.1",
"@typescript-eslint/parser": "^5.46.1",
"@types/jest": "^29.2.5",
"@typescript-eslint/eslint-plugin": "^5.48.0",
"@typescript-eslint/parser": "^5.48.0",
"diff": "^5.1.0",
"eslint": "^8.29.0",
"eslint-config-prettier": "^8.5.0",
"eslint": "^8.31.0",
"eslint-config-prettier": "^8.6.0",
"eslint-config-standard": "^17.0.0",
"eslint-import-resolver-typescript": "^3.5.2",
"eslint-plugin-cucumber": "^2.0.0",
Expand All @@ -104,8 +104,8 @@
"jest-junit": "^15.0.0",
"lint-staged": "^13.1.0",
"npm-audit-resolver": "^3.0.0-7",
"npm-check-updates": "^16.6.0",
"prettier": "^2.8.1",
"npm-check-updates": "^16.6.2",
"prettier": "^2.8.2",
"standard-version": "^9.5.0",
"swagger-cli": "^4.0.4",
"ts-jest": "^29.0.3",
Expand Down
Loading

0 comments on commit 5e8db74

Please sign in to comment.