We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trying to generate swagger client from openapi 3.0.3 Orval v7.3.0 (also tried v7.2.0)
When generating i get an error
Error: Duplicate schema names detected: 1x PatchedPayoutRequestListAdminDTOReimbursability 1x PayoutRequestListAdminDTOReimbursability 1x PayoutRequestRetrieveAdminDTOReimbursability 1x PayoutRequestRetrieveUserDTOReimbursability 1x PayoutRequestSetReimbursabilityDTOReimbursability
The schema is valid, I have ran it through the swagger editor and all is clean.
this is my config
export default defineConfig({ newTechService: { hooks: { afterAllFilesWrite: "eslint --fix src/api", }, output: { mode: "tags-split", target: "./src/api/query", schemas: "./src/api/model", client: "react-query", httpClient: "axios", urlEncodeParameters: false, clean: true, tslint: true, override: { fetch: { includeHttpResponseReturnType: false, }, query: { signal: true, useInfinite: false, }, mutator: { path: "./src/api/custom-instance/axios-instance.ts", name: "customInstance", }, components: { schemas: { suffix: "DTO", }, responses: { suffix: "Response", }, parameters: { suffix: "Params", }, requestBodies: { suffix: "Body", }, }, }, }, input: { target: ... }, }, });
The text was updated successfully, but these errors were encountered:
The same issue here
Sorry, something went wrong.
@SamyZog Could you provide the schema specification so I can try to replicate this?
No branches or pull requests
Trying to generate swagger client from openapi 3.0.3
Orval v7.3.0 (also tried v7.2.0)
When generating i get an error
The schema is valid, I have ran it through the swagger editor and all is clean.
this is my config
The text was updated successfully, but these errors were encountered: