Passing at least one mandatory Query Params out of many defined in RAML

The Blog will help in understanding the functionality of queryString in RAML.

It helps, passing at least one mandatory query parameter out of more than one mandatory query parameter defined in RAML.

RAML:
img
RAML Summary:
PlanId Tariff
image
image

Both the query parameters PlanId and Amount unders the dataTypes planId and tariff are defined in RAML and both are required.

Testing:

1. Passing Both the Query Parameters

img

2. Passing Only PlanId as Query Parameter

img

3. Passing Only Amount as Query Parameter

img

4. No Query Parameters passed

img
icon png
Thank you for taking out time to read the above post. Hope you found it useful. In case of any questions, feel free to comment below. Also, if you are keen on knowing about a specific topic, happy to explore your recommendations as well.
image

Create Meaningful Experiences for employees

Our power of choice is untrammelled and when nothing prevents our able to do what we like best every pleasure is to be welcomed and occur that pleasures have to be repudiated.

Post a comment

Your email address will not be published.