openapi-typescript
openapi-typescript copied to clipboard
Generate TypeScript types from OpenAPI 3 specs
### Description It's too bad we don't have an equivalent to openapi-react-query for solid. Maybe it could be implemented? ### Proposal Simple example ```ts import createClient from 'openapi-fetch'; import createQueryClient...
### Description I am currently using a schema that i'm returning search results with. I have implemented an aggregation schema that can represent multiple types of aggregations using the oneOf...
### openapi-typescript version 7.6.1 ### Node.js version 20.18.3 ### OS + version any ### Description When importing `openapi-typescript` from a CommonJS project, TypeScript cannot find its types (because the library...
### openapi-typescript version 7.6.1 ### Node.js version 22.13.1 ### OS + version macOS 15.3 ### Description Two, possibly related issues. First, if there is a redocly.yaml file, the --redocly/-c option...
### openapi-typescript version 7.6.1 ### Node.js version v22.12.0 ### OS + version Linux ### Description We've recently started to try to improve our API specs. We are using redcoly for...
### openapi-react-query version 0.3.0 ### Description The type of the error returned by `useQuery` and `queryOptions` is determined by the "paths" specification. For example: ```typescript const {data, error} = useQuery(queryClient.queryOptions("get",...
### openapi-fetch version 0.13.4 ### Description Hi there. I appreciate this lib very much, it has enabled me to bootstrap numerous APIs with ease and saved a lot of time....
## Changes Makes `pageParamName` typesafe and required. This PR also removes the fallbacks for `pageParamName` and `pageParam`, because they shouldn't have default values in the first place (and they're also...
### openapi-typescript version 7.4.4 ### Node.js version 22.13.1 ### OS + version macOS ### Description I expected the generated types to use the `name` of the parameter, but they don't....
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [unbuild](https://redirect.github.com/unjs/unbuild) | [`3.3.1` -> `3.5.0`](https://renovatebot.com/diffs/npm/unbuild/3.3.1/3.5.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/)...