openapi-typescript-code-generator
openapi-typescript-code-generator copied to clipboard
TypeScript code generator via OpenAPI scheme.
## Summary https://swagger.io/specification/ ## Test Plan ```yaml schema: type: object properties: name: type: string readOnly: true ```
## Summary ## Test Plan
## Steps To Reproduce ```yml components: schemas: package: // reserved word type: object properties: id: type: number ``` ## The current behavior TS Error ``` A software package Identifier expected....
## Migration * https://www.openapis.org/blog/2021/02/16/migrating-from-openapi-3-0-to-3-1-0?utm_campaign=OpenAPI
## Steps To Reproduce Remove [this comment out](https://github.com/tkow/cloudflare-ts-client/pull/1/files#diff-b00f8a54fbb0140ea3c27190def1d1b8962a0dd3fcaed272d12081579500dfc6R9-R13) , switch yaml from remote instead of local. run `bun i && bun ./gen.ts && npx tsc --noEmit ./src/client.ts` in [repo](https://github.com/tkow/cloudflare-ts-client). ```yaml...
## Steps To Reproduce If oas file has lacked `schema` property about media type, RequestBody type omits application/json type. This cause build error because Param type generates reference to it....
## Summary fix: #90 ## Test Plan
## Steps To Reproduce Apply this patch: https://github.com/Himenon/openapi-typescript-code-generator/compare/%40himenon/openapi-typescript-code-generator%400.19.1...karupanerura:openapi-typescript-code-generator:test/add-broken-case ``` pnpm build pnpm run test:code:gen ``` ## The current behavior ``` Generate Code : test/code/typedef-with-template/ref-access.ts /Users/karupanerura/src/github.com/karupanerura/openapi-typescript-code-generator/src/internal/OpenApiTools/TypeNodeContext.ts:99 const findSchemaByPathArray = ( ^...
Hello! users. If you are viewing this issue, please provide your opinions on what features you would like to see. Both 日本語 and English feedback are welcome.