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

generates broken ts file if description in swagger file containes forward slash `*/` like in this example `**/information**` ```yaml ... summary: Get service point file of all Nordic countries (SE,FI,DK,NO)....

## Issue When verbatimModuleSyntax=true it forces import resolution to be like this: ```ts // src/api/gen/generatedModule.ts import { ContentType, HttpClient } from "./http-client"; import type { Register, RequestParam, UserDto } from...

Hi, can you add a configuration option for disabling code formatting after the files are generated? I'm currently running my chosen code formatting tool after the files are generated. Now...

enhancement

Closes https://github.com/acacode/swagger-typescript-api/issues/322

bug

With Typescript 5.8's `erasableSyntaxOnly` flag and with Node's type stripping support, it looks like they're pushing us away from from using TS only language features (enum, namespaces, etc) We heavily...

enhancement
good first issue

Hello! I observe the problem with the interface generation for a specific case. I have an endpoint that accepts the following interface: ``` { userId: string; page: { size: number;...

bug

Currently, there isn’t a straightforward way to override the entire axios request for complete wrapping, so I’ve named it "custom action," inspired by the approach used in GraphQL generator libraries....

enhancement

Hi, there. Using with `toJS` and `modular`, `import { ... } from './data-contracts'` is disappeared. Without `toJS`, it seems to be going well. I don't know why it's fine, doing...

Error occurred while generating the API interface documentation: `[10:19:45 AM] ℹ "interfacedatacontract" template found in "../hack/gen_swagger_templates" ` But actually, this file does exist: