Skip to content

Commit

Permalink
feat: Update @hey-api/openapi-ts version and re-enable namespacing …
Browse files Browse the repository at this point in the history
…enums (#136)
  • Loading branch information
collink authored Aug 12, 2024
1 parent 77f0aae commit 5b6e807
Show file tree
Hide file tree
Showing 12 changed files with 4,623 additions and 4,662 deletions.
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

0 comments on commit 5b6e807

Please sign in to comment.