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

support chinese string for enum

Hi @ferdikoomen, First of all, thank you for providing this fine utility. It's saved me a bunch of time. As for the feature request itself: I'd like to contribute a...

In the OpenAPI v3 spec, the `requestBody` does not have a name. By default, [it will be passed into the generated function](https://github.com/ferdikoomen/openapi-typescript-codegen/blob/master/src/openApi/v3/parser/getOperationRequestBody.ts#L14) as `requestBody`. It would be nice to accept...

Closes https://github.com/ferdikoomen/openapi-typescript-codegen/issues/1154

I'm using esmodules with moduleResolution set to NodeNext. This means relative import paths require explicit file extensions. Is there a way to configure this requirement out of the box?

Hello, is there a way to generate non nullable model properties? Whatever I do it always generates as nullable. ``` // Current export type SampleModel= { title?: string; url?: string;...

In the OpenAPI v3 spec, the `requestBody` does not have a name. By default, it will be passed into the generated function as `requestBody`. Accept the commonly used `x-body-name` property...

When using `--postfixModels modelname` when executing a code gen the models postfix does not change in the generated output. See also https://github.com/ferdikoomen/openapi-typescript-codegen/pull/1141