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
Feature Request - Option to create rules automatically for example responses #1151
Comments
Could you provide a partial example of an OpenAPI specification and the setup you expect to find in Mockoon? Thanks |
I verified the open-api spec and found that the examples have the response body, but not the request details that could create this reponse. I see the postman export JSON has it. We use this tool to create open api from postman JSON: https://joolfe.github.io/postman-to-openapi/ |
I have one feature request regarding rules.
In our API development process, we save the distinct responses as examples and great that Mockoon
automatically displays them.
But finding one issue that we want the responses, if the request fields match with the querystrig/body and header in the example. The idea behind proving example is that, it is for a specific request combination.
We could have something like automatically create rules for example as per the params in the querystring/body and custom header. Creating rules every time will resolve the issue, but probably we can make it an optional feature while importing, so that it doesn't break existing users.
Please evaluate this request.
The text was updated successfully, but these errors were encountered: