Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Update @hey-api/openapi-ts version and re-enable namespacing enums #136

Merged
Merged
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ Options:
--operationId Use operation ID to generate operation names?
--serviceResponse <value> Define shape of returned value from service calls (choices: "body", "response", default: "body")
--base <value> Manually set base in OpenAPI config instead of inferring from server value
--enums <value> Generate JavaScript objects from enum definitions? ['javascript', 'typescript', 'typescript+namespace']
--enums <value> Generate JavaScript objects from enum definitions? (choices: "javascript", "typescript")
--useDateType Use Date type instead of string for date types for models, this will not convert the data to a Date object
--debug Run in debug mode?
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"test": "vitest --coverage.enabled true"
},
"dependencies": {
"@hey-api/openapi-ts": "0.45.1"
"@hey-api/openapi-ts": "0.52.0"
},
"devDependencies": {
"@biomejs/biome": "^1.7.2",
Expand All @@ -47,9 +47,9 @@
"glob": "^10.3.10",
"lefthook": "^1.6.10",
"rimraf": "^5.0.5",
"ts-morph": "^22.0.0",
"ts-morph": "^23.0.0",
"ts-node": "^10.9.2",
"typescript": "^5.3.3",
"typescript": "^5.5.4",
"vitest": "^1.5.0"
},
"peerDependencies": {
Expand Down
Loading
Loading