Comments (3)
Yes, as you said, the key
format is currently defferent for get
and post
.
In the case of get
, the request body is also included, but in the case of post
, the request body can't specified as a key in advance.
Does your proposal involve removing the request body from the get key?
from orval.
I updated function to get key to Array containing url and query params 👍
from orval.
@soartec-lab sorry for the late reply, I ended up generating my own client, but I believe the fix you made would have solved my issue, thanks! I will try once it's released.
from orval.
Related Issues (20)
- OpenAPI validation appears to not be working HOT 3
- New Client: xior HOT 2
- Orval generated mutation way to add more input vars then from open-api spec required...
- Axios: only generates successful response bodies
- Conflicting variable/function names when using output override mutator for react-query HOT 1
- vue-query/fetch runs res.json on DELETE with NoContent HOT 6
- MSW: Incorrect import path of schema when set schemas and indexFiles is false
- Zod: readonly fields appears in *CreateBody
- Fetch: Client response type HOT 11
- OpenAPI: Can't fetch refs from url HOT 2
- Query: getPackageByQueryClient doesn't respect peer dependencies HOT 1
- Hooks queryOptions overwrite must include queryKey
- React query initialData overloads don't respect the allParamsOptional config option HOT 1
- useInfiniteQuery hooks have a wrong return type
- [Regression in 7.0.1] Generated MSW mock handlers have type check error HOT 3
- react-query: check for NULL skipped inside "anyOf" list of types
- Schema allOf generation does not follow Swagger spec HOT 3
- Hono: incorrect handler relative paths when using tag mode
- Allow using zod's preprocess on query
- Next.js 14 / swr client with fetch httpClient: 'client-only' cannot be imported from a Server Component module HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from orval.