-
-
Notifications
You must be signed in to change notification settings - Fork 334
New issue
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
Config Option (useDeprecatedOperations): Do not generate deprecated APIs #564
Comments
melloware
added a commit
to melloware/orval
that referenced
this issue
Sep 3, 2022
melloware
changed the title
New Config Option: Do not generate deprecated APIs
Config Option (useDeprecatedOperations): Do not generate deprecated APIs
Sep 3, 2022
melloware
added a commit
to melloware/orval
that referenced
this issue
Sep 4, 2022
melloware
added a commit
to melloware/orval
that referenced
this issue
Sep 4, 2022
melloware
added a commit
to melloware/orval
that referenced
this issue
Sep 4, 2022
melloware
added a commit
to melloware/orval
that referenced
this issue
Sep 4, 2022
melloware
added a commit
to melloware/orval
that referenced
this issue
Sep 4, 2022
melloware
added a commit
to melloware/orval
that referenced
this issue
Sep 4, 2022
melloware
added a commit
to melloware/orval
that referenced
this issue
Sep 4, 2022
melloware
added a commit
to melloware/orval
that referenced
this issue
Sep 4, 2022
melloware
added a commit
to melloware/orval
that referenced
this issue
Sep 4, 2022
melloware
added a commit
to melloware/orval
that referenced
this issue
Sep 5, 2022
melloware
added a commit
to melloware/orval
that referenced
this issue
Sep 5, 2022
anymaniax
pushed a commit
that referenced
this issue
Sep 5, 2022
works like a charm in production removing my deprecated operations! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You need an OpenAPI file with an API call marked
deprecated: true
Here is an example operation with
"deprecated": true,
I would love an Orval config optionuseDeprecatedOperations: false
to basically not generate any React Query code for any deprecated APIs. It will reduce my TypeScript code and prevent someone from calling deprecated APIs.The text was updated successfully, but these errors were encountered: