Skip to content

Ignore rules and default response, return selected response instead #252

@255kb

Description

@255kb

Is your feature request related to a problem? Please describe.
-Setting the default route response when no rules are matched is not straightforward. A drag and drop is needed to move it to the top of the dropdown

  • There is no way to force Mockoon to select a route response without interpreting the rules. This response could also be different from the default one.

Describe the solution you'd like
We need to add a system (checkboxes, etc) to be able to easily tell Mockoon:

  • this is the default response when no rule is matched
  • this is the response I want to force from now on (without consideration of the default one)

Additional context
/!\ UI needs to be clever and easy to use


Original message:

Currently there is a possibility to set response as a default (by dragging item in the responses list), but I see very useful option to "Ignore rules and default response", and return currently selected response from requested route.

Usage example:
I have a lot of different responses from one route, but each response have the same rules. From my perspective, I want to be able to simply choose which response should be currently returned by route (IMO, the best option is currently selected response, not default).

Currently to achieve this, I have to change default response each time. It would be awesome to have it simpler.

Thx for a great tool I use almost each day!

Originally posted by @aantoniv in #191 (comment)

Metadata

Metadata

Labels

component:appIssue related to the desktop or cloud web apprequires:documentationRequires a documentation update

Type

No type

Projects

Status

✅ Done (ready for next release)

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions