Mograte from openapi-typescript-codegen to @hey-api/openapi-ts

Back to options using openapi (default of openapi-ts)
This commit is contained in:
phil 2024-04-03 11:19:57 +05:30
parent 263defc7ba
commit bba056105a
94 changed files with 3983 additions and 2096 deletions

View file

@ -17,7 +17,7 @@
"test": "ng test",
"lint": "ng lint",
"e2e": "ng e2e",
"generate-client": "openapi --input http://127.0.0.1:5000/openapi.json --output ./src/app/openapi --client angular --useUnionTypes",
"openapi-ts": "openapi-ts -i http://127.0.0.1:5000/openapi.json -o src/app/openapi --client angular",
"source-map-explorer": "source-map-explorer dist/*.js"
},
"licenses": [
@ -57,6 +57,7 @@
"@angular/cli": "^17.3.0",
"@angular/compiler-cli": "^17.3.0",
"@angular/language-service": "^17.3.0",
"@hey-api/openapi-ts": "^0.34.0",
"@types/geojson": "^7946.0.14",
"@types/jasmine": "~3.6.0",
"@types/jasminewd2": "^2.0.2",
@ -71,7 +72,6 @@
"karma-cli": "^2.0.0",
"karma-coverage-istanbul-reporter": "~3.0.2",
"karma-jasmine": "~4.0.0",
"openapi-typescript-codegen": "^0.27.0",
"protractor": "~7.0.0",
"source-map-explorer": "^2.5.3",
"ts-node": "^10.9.2",
@ -79,4 +79,4 @@
"tslint": "~6.1.0",
"typescript": "~5.3.3"
}
}
}