openapi-ts
openapi-ts copied to clipboard
✨ Turn your OpenAPI specification into a beautiful TypeScript client
### Description Single quotes in an enum in a schema do not escape properly so it breaks the generated type. ### Expected ```ts export type SomeRequest = { category: 'Category...
### Description The type declarations generated by openapi-ts are very good. They would be even more useful if they had JSDOC tags. The information for JSDOC tags is readily available...
- resolved #497
### Description (Using openapi-ts version 0.52.9 `"@hey-api/openapi-ts": "~0.52.0"`) Weird problem to have run into, but I've currently got a monorepo setup (using Rush) where one of my packages uses openapi-ts...
### Description Hello! Im using the generated client on my nextjs frontend, at the layout component (a component that is used by every page) we set the client config, but...
### Description Hey everyone! I am facing a challenge using the library. On the project I am working on, we have several microservices, each of them with its own OpenAPI...
### Description When my `eslint` is running, it changes `type` to `interface`, breaking types for `body`. this works: ``` export type PredictRequest = { inputs: string; }; export type HfPredictData...
### Description This is similar, but not quite the same, to https://github.com/hey-api/openapi-ts/issues/820. Spec excerpt: ``` paths: /login: post: operationId: loginMethod responses: 200: description: OK requestBody: content: application/json: schema: $ref: "#/components/schemas/LoginRequest"...
### Description AJV is an excellent way to generate data validation code starting from JSON Schema's. OpenAPI specifications build on JSON Schema's. The openapi-ts project can generate JSON Schema's from...