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

Can we have single axios http client instance and we can use that instance across all the generated Types class I have 2 json file and based on that I...

Is there a reason that the `query` property is omitted from the type? https://github.com/acacode/swagger-typescript-api/blob/2b6db2346028fe6fb1f311bf5b1221a89837032e/templates/base/http-clients/axios-http-client.ejs#L25

I'm experiencing TypeScript errors that come from the generated `http-client.ts`. Here are the errors: ![Capture d’écran du 2024-07-01 12-26-26](https://github.com/acacode/swagger-typescript-api/assets/23351988/23253b60-0135-4f60-a292-174839cd67f0) My build passes with version `13.0.10` of swagger-typescript-api but not with...

bug

My Project file.prettierrc.cjs is always removed by swagger-typescript-api (recent versions)

question

When using a `multipart/form-data` content type, the generated API code provides a private function to format certain types : `contentFormatters`. Currently on version `12.0.2` the function is : ```ts private...

Due to how unwrapping data work, it is possible that the `request` function will return an undefined value when an error is thrown that is not reflected on the type...

bug

Hello, We have implemented this feature, with two reasons : - We prefer use types over interfaces for our domain - In our project we have a french named domain...

enhancement

When using the `--extract-response-body` option, the format option of requests disappears. For example (from `tests/spec/extractResponseBody.js`): When running with extractResponseBody: true, the generated code looks like this: ```typescript this.request({ path: `/pet/findByStatus`,...

bug