swagger-typescript-api
swagger-typescript-api copied to clipboard
TypeScript API generator via Swagger scheme
I'm using this library and using react query around it. I've noticed that there is no way to check if the security data has been set so the requests are...
Is it possible to generate a string with content instead of a file? I want to create a virtual module in vite and I need to get the content string...
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, but now typescript throws "circularly references itself" errors with 13.
i use strapi cms and documentation plugin, but swagger-typescript-api dosent generate query types correctly, for example the query type is "filters[content][$eq]": "name" (qs library format and use search params) but...
I want to use Modular mode, but it doesn't generate an index file to mass-export stuff. Rather than being able to do `import { Thing, ThingDto } from 'api';`, I'm...
If a schema is referenced as the requestContent to an API, the generated RequestBody should omit readonly properties. Given a user: ```ts export interface User { readonly id: number name:...
Does anyone have template to work with `@apollo/datasource-rest` or `apollo-datasource-http`? I was playing with the idea of using `customFetch` and mapping it to datasource's request. However, the interfaces are quite...
Hi bro, can i generate Api.ts with multiple swagger.json? Thank you for your consideration and I will be looking forward to your reply.
I am generating zod schemas based on types generated by swagger-typescript-api. The schema generation doesn't work well with generics so I was wondering if it would be possible to have...
I am customising the template and I have to fetch data from the vendor extension (e.g. x-internal-id). Inside the route i can see that its available at the route.raw in...