-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add autogenerated openapi spec
- Loading branch information
Showing
147 changed files
with
13,431 additions
and
14,824 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
dist | ||
dist | ||
lib/nile/src/generated |
Binary file added
BIN
+48.3 KB
.yarn/cache/@apidevtools-json-schema-ref-parser-npm-9.0.9-cda77aa4ae-b21f6bdd37.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+9.05 KB
.yarn/cache/@nuxtjs-opencollective-npm-0.3.2-72db6b3551-fd3737c12e.zip
Binary file not shown.
Binary file added
BIN
+21.5 KB
.yarn/cache/@openapitools-openapi-generator-cli-npm-2.4.26-1cbb5ad660-ff6f75e194.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+8.32 KB
.yarn/cache/json-schema-ref-parser-npm-9.0.9-1203e379cb-e05166a84c.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+28.7 KB
.yarn/cache/openapi-typescript-codegen-npm-0.20.1-7ec4e25d5d-f03849f904.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
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 |
---|---|---|
|
@@ -3,6 +3,8 @@ | |
node_modules | ||
dist | ||
docs | ||
src/generated | ||
spec/output.swagger.json | ||
|
||
.yarn/* | ||
!.yarn/patches | ||
|
Binary file added
BIN
+48.3 KB
lib/nile/.yarn/cache/@apidevtools-json-schema-ref-parser-npm-9.0.9-cda77aa4ae-b21f6bdd37.zip
Binary file not shown.
Binary file added
BIN
+48.3 KB
lib/nile/.yarn/cache/@jsdevtools-ono-npm-7.1.3-cb2313543b-2297fcd472.zip
Binary file not shown.
Binary file added
BIN
+204 KB
lib/nile/.yarn/cache/@nestjs-common-npm-8.2.6-41d5e24fae-3999376069.zip
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+9.05 KB
lib/nile/.yarn/cache/@nuxtjs-opencollective-npm-0.3.2-72db6b3551-fd3737c12e.zip
Binary file not shown.
Binary file added
BIN
+21.5 KB
...nile/.yarn/cache/@openapitools-openapi-generator-cli-npm-2.4.26-1cbb5ad660-ff6f75e194.zip
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+14.5 KB
lib/nile/.yarn/cache/atlassian-openapi-npm-1.0.17-98ab56c330-372a454e8f.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+4.61 KB
lib/nile/.yarn/cache/call-me-maybe-npm-1.0.1-d07e74bc9c-d19e9d6ac2.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+5.7 KB
lib/nile/.yarn/cache/compare-versions-npm-3.6.0-0bb57ed638-7492a50cda.zip
Binary file not shown.
Binary file added
BIN
+42.2 KB
lib/nile/.yarn/cache/concurrently-npm-6.5.1-1c75a74f6e-3f4d89b464.zip
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+7.92 KB
lib/nile/.yarn/cache/console.table-npm-0.10.0-5e90a14686-4c1460e310.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+11.3 KB
lib/nile/.yarn/cache/fast-safe-stringify-npm-2.1.1-7ce89033ca-a851cbddc4.zip
Binary file not shown.
Binary file added
BIN
+10.1 KB
lib/nile/.yarn/cache/follow-redirects-npm-1.14.9-522f191631-f5982e0eb4.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+2.89 KB
lib/nile/.yarn/cache/is-unicode-supported-npm-0.1.0-0833e1bbfb-a2aab86ee7.zip
Binary file not shown.
Binary file added
BIN
+5.37 KB
lib/nile/.yarn/cache/isomorphic-fetch-npm-3.0.0-bce711adff-e5ab79a56c.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+8.32 KB
lib/nile/.yarn/cache/json-schema-ref-parser-npm-9.0.9-1203e379cb-e05166a84c.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+18.3 KB
lib/nile/.yarn/cache/openapi-merge-cli-npm-1.3.1-f0b5f324f2-8bab7c5385.zip
Binary file not shown.
Binary file added
BIN
+22.3 KB
lib/nile/.yarn/cache/openapi-merge-npm-1.3.2-04688810cd-53284a5632.zip
Binary file not shown.
Binary file added
BIN
+28.7 KB
lib/nile/.yarn/cache/openapi-typescript-codegen-npm-0.20.1-7ec4e25d5d-f03849f904.zip
Binary file not shown.
Binary file added
BIN
+58.7 KB
lib/nile/.yarn/cache/openapi-typescript-npm-5.2.0-6d7f313f0e-193b0d910d.zip
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+11 KB
lib/nile/.yarn/cache/path-to-regexp-npm-3.2.0-daf7bbd038-c3d35cda3b.zip
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+51 KB
lib/nile/.yarn/cache/reflect-metadata-npm-0.1.13-c525998e20-798d379a7b.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+4.45 KB
lib/nile/.yarn/cache/spawn-command-npm-0.0.2-014d4d5d9f-e35c5d2817.zip
Binary file not shown.
Binary file added
BIN
+4.68 KB
lib/nile/.yarn/cache/supports-color-npm-8.1.1-289e937149-c052193a7e.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+5.84 KB
lib/nile/.yarn/cache/ts-is-present-npm-1.2.2-89f85c611e-3620ecf482.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+5.56 KB
lib/nile/.yarn/cache/webidl-conversions-npm-3.0.1-60310f6a2b-c92a0a6ab9.zip
Binary file not shown.
Binary file added
BIN
+18.1 KB
lib/nile/.yarn/cache/whatwg-fetch-npm-3.6.2-4bdf324792-ee976b7249.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+30.6 KB
lib/nile/.yarn/cache/yargs-parser-npm-20.2.9-a1d19e598d-8bb69015f2.zip
Binary file not shown.
Binary file added
BIN
+31.1 KB
lib/nile/.yarn/cache/yargs-parser-npm-21.0.1-b778fd3462-c3ea2ed12c.zip
Binary file not shown.
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 |
---|---|---|
|
@@ -15,6 +15,7 @@ yarn set version berry | |
To run: | ||
|
||
```bash | ||
yarn build | ||
yarn start | ||
``` | ||
|
||
|
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"inputs": [ | ||
{ "inputFile": "./spec/api.yaml" }, | ||
{ "inputFile": "./spec/auth.yaml" } | ||
], | ||
"output": "./spec/output.swagger.json" | ||
} |
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"$schema": "node_modules/@openapitools/openapi-generator-cli/config.schema.json", | ||
"spaces": 2, | ||
"generator-cli": { | ||
"version": "5.4.0" | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#!/bin/bash | ||
|
||
# personalize the open api docs for use with the actual interface | ||
sed -i '' -e "/import \* as fs from 'fs';/,1 d" ./src/generated/openapi/DefaultApi.md | ||
sed -i '' -e "s/Nile.DefaultApi/Nile/" ./src/generated/openapi/DefaultApi.md | ||
sed -i '' -e "s/const apiInstance/const nile/" ./src/generated/openapi/DefaultApi.md | ||
sed -i '' -e "s/apiInstance\./nile\./" ./src/generated/openapi/DefaultApi.md | ||
|
||
cp ./src/generated/openapi/DefaultApi.md ./src/README.md |
Oops, something went wrong.