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

TypeScript API generator via Swagger scheme

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

### The issue I've had I've recently ran into issues getting `swagger-typescript-api` to work in my project even though it worked a few months ago. The issue that I've ran...

![image](https://user-images.githubusercontent.com/18304330/187588722-4f46333b-a892-450c-aa93-0b0c3c4c3736.png) // v3/api-docs .json operationId: delete1, ![image](https://user-images.githubusercontent.com/18304330/187589316-51d0d634-557a-441c-8048-913eac160ab0.png) I want operationId: delete or ![image](https://user-images.githubusercontent.com/18304330/187589016-207a5308-33a7-4086-83a3-835e5edbed2d.png)

The following definitions ``` "definitions": { "BaseEntityWithoutId": { "required": [], "properties": { "createdAt": { "type": "string", "description": "The creation date of the object." }, "updatedAt": { "type": "string", "description": "The...

bug
next release

The key is set to `undefined` but even the presence of the key blocks iOS from sending the request. Workaround for this: ``` const api = new Api({ customFetch: (url,...

I am using a mono repository and would like to be able to generate the spec this way ``` cd ./monorepo/my-ui npx swagger-typescript-api -p ../api/swagger.json [...params] ``` But now I...

This pull request introduces a new feature to the `swagger-typescript-api`, allowing users to generate a HTTP client utilizing the [unjs/ofetch](https://github.com/unjs/ofetch) library for making HTTP requests. This is facilitated through the...

enhancement

I'm wondering if this project would be open to adding support to generate one file per model, instead of the current design where all models are written to a single...

https://github.com/acacode/swagger-typescript-api/blob/2b6db2346028fe6fb1f311bf5b1221a89837032e/templates/base/http-clients/fetch-http-client.ejs#L123-L130 according to typescript, `baseApiParams.header` is shape of `HeaderInit`. and `type HeadersInit = [string, string][] | Record | Headers;` and header is expand in the code above, - expand `Headers`...

`security` in the original OpenAPI document is not included in `routeInfo.raw`. This PR addes it.