We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
As a Prism user,
I want to be able to define the option to bypass the request validation and just return the mocked response,
so I can showcase a response even when then the request is invalid, which is usefull for a demo mode.
Now, it seems that it is not possible circumvent the request validation, it is always triggered. Returning validation errors instead of the response.
example: [5:34:12 PM] › [VALIDATOR] ✖ error Violation: request.body Request body must have required property 'ticketDate'
Response
{ "type": "object", "title": "Validation failed" }
The same logic that would apply for the Proxy CLI --validate-request
The text was updated successfully, but these errors were encountered:
hi @SergioV85
I created a #2696 to introduce the option for the Mock mode of Prism. Let me know if you have comments are remarks, to improve the feature.
If you don't think it is a useful addition, let me know, so I can close the PR.
Sorry, something went wrong.
No branches or pull requests
Uh oh!
There was an error while loading. Please reload this page.
User Story Description
As a Prism user,
I want to be able to define the option to bypass the request validation and just return the mocked response,
so I can showcase a response even when then the request is invalid, which is usefull for a demo mode.
Now, it seems that it is not possible circumvent the request validation, it is always triggered.
Returning validation errors instead of the response.
example:
[5:34:12 PM] › [VALIDATOR] ✖ error Violation: request.body Request body must have required property 'ticketDate'
Response
The same logic that would apply for the Proxy CLI --validate-request
Acceptance Criteria
Sprint Ready Checklist
The text was updated successfully, but these errors were encountered: