swagger-typescript-api icon indicating copy to clipboard operation
swagger-typescript-api copied to clipboard

TypeScript API generator via Swagger scheme

Results 307 swagger-typescript-api issues
Sort by recently updated
recently updated
newest added

The format is generated based on the media type of the successful response. If the type of the successful response is void and the error response is JSON, this results...

# Suggestion: Would it be desirable to have another option `unwrapResponseDataWithErrors` or perhaps to turn `unwrapResponseData` into a union `'disabled' | 'responseOnly' | 'responseAndError'`? At the moment, it seems that...

enhancement

# vibe coded PR closes #1321 This PR fixes a security vulnerability where unescaped characters in OpenAPI/Swagger descriptions could break generated TypeScript files or enable code injection attacks. The fix...

bug

Command: `swagger-typescript-api --extract-enums --no-client --path https://raw.githubusercontent.com/europace/baufismart-kundenangaben-api/master/kundenangaben-openapi.yaml --name kundenangaben-api.model.ts` Worked with 12.0, but not throws an error with 13.0. Log: ``` ✨ swagger-typescript-api(13.0.0),npm/9.7.2 node/v20.4.0 linux x64 workspaces/false,debug mode DISABLED ✨ Code...

bug
next release

Please consider adding support for readOnly and writeOnly. I still haven't found any generator that supports this with axios, i really like your generator! I made a postScript in python...

In OpenAPI v3.1 the nullable property was replaced with a "typed array", that is an array that can either be of type T or null. To make the minimal amount...

enhancement

## PR Description ### Changes 1. Refactored createRef and parseRef functions: Added validation to ensure createRef accepts an array and is not empty. Improved error handling for parseRef to check...

Hello 👋 I just noticed that to determine the content-type of a request, only the `type` parameter from the `request` method itself is used. A `type` parameter provided in the...

bug

for example one of my methods name deleteAuthGroupApiAuthorizeBrandGroupsAuthGroupIdDelete: i would just happy if it stopped on deleteAuthGroup, anything else is not necessary

enhancement