swagger-typescript-api
swagger-typescript-api copied to clipboard
TypeScript API generator via Swagger scheme
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...
Closes https://github.com/acacode/swagger-typescript-api/issues/322
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...
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;...
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....
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: