swagger-typescript-api
swagger-typescript-api copied to clipboard
TypeScript API generator via Swagger scheme
## Goal Currently nodejs usage on README.md does not work. It should be executable only by copying and pasting for beginners. ## Todo - [x] fix: correct files' field to...
I want to use swagger-typescript-api to generate data contracts (without the API client). I am currently using `--extract-request-params` option which combines path and query params. Is it possible to generate...
Is it possible to make the api handle GET requests list parameters as strings instead of lists? (e.g. instead of `?q=1&q=2` I want `?q=%5B1%2C2%5D` which is encoded for `?q=[1,2]`) I'm...
When a request that uses the content type of `ContentType.FormData` is sent with a body, any null or undefined values in that object end up being sent to the server...
In generated axios http-API client there's a line ``` headers: { ...(requestParams.headers || {}), ...(type && type !== ContentType.FormData ? { "Content-Type": type } : {}), }, ``` this prevents...
I am doing chores to bump packages and after upgrading swagger-typescript-api to 13.0.0 no Route types seem to be getting generated. The command line I'm using to generate the types...
When schema contains enums with integer values, their member names are generated as `Value${absoluteValueOfActualValue}`, which causes `Value${absoluteValueOfActualValue}` == `Value${actualValue}`, so when enums have negative and positive values of the same...
Generation fails with a SyntaxError if an exampe string contains a comment end string, `*/` ``` SyntaxError: Property or signature expected. (1334:19) 1332 | /** @example "10" */ 1333 |...
Is there any plan to generate Zod validations as well? So I can use them in an Express middleware. Thanks.
In some cases when using the `--unwrap-response-data` and the API throw an error, I'd get the following error : `TypeError: body used already for`. I noticed that in the fetch...