Passing At Least One Mandatory Query Params Out Of Many Defined In RAML

Author: Abhishek Bathwal

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:
RAML Summary:
PlanIdTariff

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

2. Passing Only PlanId as Query Parameter

3. Passing Only Amount as Query Parameter

4. No Query Parameters passed

********* Happy Learning ********

We use cookies on this site to enhance your user experience. For a complete overview of how we use cookies, please see our privacy policy.