Description
We have queries from api contracts, which we override to a mutation in our orval config. Somehow the POSTS, are being changable into Query. But a query into a Mutation is not working.
output: {
override: {
reprint: {
query: {
useMutation: true,
},
},
search: {
query: {
useQuery: true,
},
},
So the operation search did indeed become a query, but the operation reprint stayed a query and not a mutation.
I have no clue since which version, upgrading from v7 now to latest (breaking behaviour not mentioned in v8 migration) :(
#3323
Output client
axios
Configuration (orval.config)
Environment
Run the command above and paste the output here.
Expected behavior
No response
Actual behavior
No response
OpenAPI document (minimal, if applicable)
openapi: 3.0.3
info:
title: Demo
version: 0.0.0
paths: {}
Additional context
No response
Description
We have queries from api contracts, which we override to a mutation in our orval config. Somehow the POSTS, are being changable into Query. But a query into a Mutation is not working.
So the operation
searchdid indeed become a query, but the operationreprintstayed a query and not a mutation.I have no clue since which version, upgrading from v7 now to latest (breaking behaviour not mentioned in v8 migration) :(
#3323
Output client
axios
Configuration (orval.config)
Environment
Run the command above and paste the output here.
Expected behavior
No response
Actual behavior
No response
OpenAPI document (minimal, if applicable)
Additional context
No response