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
{ "description": "A GET request to retrieve a thing", "request": { "method": "get", "path": "/things/{id:int}" }, "response": { "where": [ { "condition": "id == 10", "response": {} }, { "condition": "id == 11", "response": {} } ] } }
Maybe this makes sense?
The text was updated successfully, but these errors were encountered:
For post requests it could be:
"condition" : "$.prop.prop == 10"
Could add array evaluation:
"condition" : "$.prop.prop in [10, 12, 13]"
ofc you would need some && || operators:
"condition" : "$.prop.prop == 10 and $.prop.prop == 11 or ..."
Sorry, something went wrong.
No branches or pull requests
Maybe this makes sense?
The text was updated successfully, but these errors were encountered: