Skip to content

Commit 9dee573

Browse files
authored
Merge pull request #418 from vcua-mobify/oas-support
@W-18575180@ Generate node SDK from OAS
2 parents 1c729a9 + 935d536 commit 9dee573

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+8384
-17383
lines changed

.depcheckrc.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ ignores:
55
- node-fetch # We only use @types/node-fetch, not node-fetch itself
66
- retry # Use OperationOptions from retry in templates but not recognized by depcheck
77
- '@types/retry' # Corresponds to retry
8+
- '@openapitools/openapi-generator-cli' # Used by openapi-generator-cli in `npm run renderTemplates`

.eslintrc.json

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
"plugins": [
88
"@typescript-eslint",
99
"@typescript-eslint/eslint-plugin",
10-
"tsdoc",
1110
"header",
1211
"jsdoc"
1312
],
@@ -32,7 +31,7 @@
3231
"selector": "interface",
3332
"format": ["PascalCase"],
3433
"custom": {
35-
"regex": "^I[A-Z]",
34+
"regex": "^[A-Z]",
3635
"match": true
3736
}
3837
}
@@ -53,7 +52,7 @@
5352
]
5453
],
5554
"jsdoc/require-description": [
56-
"error",
55+
"warn",
5756
{
5857
"checkConstructors": false
5958
}
@@ -76,8 +75,7 @@
7675
"jsdoc/require-param-type": "off",
7776
"jsdoc/require-returns-check": "error",
7877
"jsdoc/require-returns-description": "error",
79-
"jsdoc/require-returns-type": "off",
80-
"tsdoc/syntax": "error"
78+
"jsdoc/require-returns-type": "off"
8179
},
8280
"overrides": [
8381
{

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
linux-tests:
1010
strategy:
1111
matrix:
12-
node: [16, 18, 20, 22]
12+
node: [20, 22]
1313
fail-fast: false
1414
runs-on: ubuntu-latest
1515
steps:

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,9 @@ dist
6666

6767
.idea
6868

69+
# Openapi-generator generates this when running renderTemplates
70+
openapitools.json
71+
6972
# Release folders
7073
renderedTemplates
7174
.vscode

.nycrc.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,11 @@
33
"branches": 80,
44
"check-coverage": true,
55
"exclude": [
6-
"src/generate.ts",
76
"src/updateApis.ts",
8-
"src/lib/config.ts"
7+
"src/lib/config.ts",
8+
"src/generate-oas.ts",
9+
"src/static/helpers/index.ts",
10+
"src/lib/utils.ts"
911
],
1012
"extends": "@istanbuljs/nyc-config-typescript",
1113
"extension": [

0 commit comments

Comments
 (0)