swagger-typescript-api
swagger-typescript-api copied to clipboard
TypeScript API generator via Swagger scheme
Made changes as it took me a while to figure out the NodeJS option for --no-client is actually "generateClient" not "noClient"
Hi. Thanks for the very useful generator. We had some issues where the generated code was slightly wrong in the case of binary payloads when using Axios though. This PR...
Looks like this is possible (not supported, maybe?) but not documented. Helps out a lot with using the exposed API with custom behavior on the tool's output.
The following code: ```yaml components: schemas: Digit: type: string enum: - zero - one - two - three - four - five - six - seven - eight - nine...
The url parameter description exists in the openApi.json file. But it is not generated into the ts file. ```sh swagger-typescript-api -p http://xxx/v3/api-docs -o src/api/knowledge -n autoApi --js --axios ``` ...
# Documentation and types for unwrapResponseData I didn't know there was a unwrapResponseData feature until I randomly came across it in the templates. This change makes the option easier to...
Hi 👋, thank you for your super cool library it helped ma a lot I noticed that field deprecated is used in code but I could not find it in...
Hello I'm missing an option to provide a single BaseUrl for the generated 'httpClient'/'Axios'. As I understood, it would be possible to achieve this by specifying a custom httpClient template....
I wrote a [small tutorial](https://dev.to/po5i/how-to-generate-a-typescript-client-from-a-swagger-documented-api-14d8), I thought sharing it with you if you want to provide comments or feedback 😄
Hello The swagger JSON includes header params ( "name":"**X-Tenant-ID**" ), but the generator does not respect this. Is there a way to generate the client with those extra parameters to...