openapi-typescript-codegen icon indicating copy to clipboard operation
openapi-typescript-codegen copied to clipboard

NodeJS library that generates Typescript or Javascript clients based on the OpenAPI specification

Results 228 openapi-typescript-codegen issues
Sort by recently updated
recently updated
newest added

I've been working on migrating some existing axios usage to the generated axios clients, but noticed no requests were being sent. In the debugger I could see unhandled exceptions being...

The issue here stems from how the getQueryString function processes arrays. When you pass an array with a single item, it doesn't append the [] to the parameter name, which...

This allows objects with additional properties to be used without polluting the rest of the codebase with `any`s.

The popular redocly package installs a `bin` with the name `openapi`. (It also links the same binary using the better name `redocly`). This package only contains a single ambiguously-named binary...

**Describe the solution you'd like** Client should support server side events

Using version 0.26.0 A class like the following: ```python class Animal(BaseModel): type: Literal["dog"] = "dog" name: string ``` Should generate a typescript class like so: ```typescript export type Animal =...

**Describe the bug** I have an OAS where an endpoint has a path parameter and a query parameter with the same name: ```json "/some/endpoint/with/event/{eventId}": { "get": { ... "operationId": "getCategoryGroupEventUsingGET",...

Hi! this model ```json "VendingItemState": { "oneOf": [ { "type": "object", "required": [ "type" ], "properties": { "type": { "type": "string", "enum": [ "Pending" ] } } }, { "type":...

Not sure if this is already possible, but my idea was to be able to set the BASE field on OpenAPIConfig through the npx command, something like: `npx openapi-typescript-codegen --input...

**Describe the bug** An excess blank line is added to the generated files, at least when using these options ```bash openapi -i my-source-folder/rest-api.yaml -o my-output-folder/openapi --exportCore false --exportServices false --useUnionTypes...