Skip to content
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

Is it possible to disable mock generation for a specific endpoint? #1258

Closed
dogfootruler-kr opened this issue Mar 8, 2024 · 1 comment
Closed
Assignees
Labels
question Further information is requested

Comments

@dogfootruler-kr
Copy link

Hello,

I am wondering if it is possible to disable the mock generation for a specific endpoint only?

For example I would like that my /login endpoint point to my real one but mock the other ones.

Thank you very much!

@melloware melloware added the question Further information is requested label Mar 8, 2024
@soartec-lab
Copy link
Collaborator

@dogfootruler-kr

Unfortunately, at the moment, orval doesn't have that feature. So for example, a workaround is required, such as separating and controlling the generated functions with the mode option.

@soartec-lab soartec-lab self-assigned this Mar 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants