Publish Swagger (OpenAPI 2.0) Documentation
Luna API
Write, Document, Publish
You can define as many tests as you want
The tests have the following syntax:
[
{
"test1": {
"APIPath": "/Contacts"
}
},
{
"test2": {
"APIPath": "/Contacts/{emailaddress}",
"PathParameters": {
"emailaddress": "ShirleySBruce@einrot.com"
}
}
},
{
"test3": {
"APIPath": "/Contacts/{emailaddress}",
"PathParameters": {
"emailaddress": "ShirleySBruce@einrot.com"
},
"QueryParameters": {
"columns" : "GivenName,Surname"
}
}
},
...
]
JSON Array of JSON Objects
JSON Object for the test
Test name
APIPath of the test
JSON Object for the test
Test name
APIPath of the test with the path parameter
Parameters JSON object
Parameter JSON object
JSON Object for the test
Test name
APIPath of the test with the path parameter
Parameters JSON object
Parameter JSON object
Parameters JSON object
Parameter JSON object
You can use HeaderParameters, PathParameters, QueryParameters (named URL Parameters in the Mac Paw Client, and Params in the Postman client) and BodyParameters.