{ "swagger":"2.0", "host": "sdev4.sapr3.davey.com", "info":{ "version":"1.0.0", "title":"Example", "description":"Example REST functions" }, "basePath":"/sap/ztodo/rest", "schemes":[ "http" ], "consumes":[ "application/json" ], "produces":[ "application/json" ], "paths":{ "/swag/{IV_FOO}/":{ "get":{ "summary":"this is the description", "description":"", "parameters":[ { "name":"IV_BAR", "in":"query", "description":"", "type":"string", "required":true }, { "name":"IV_FOO", "in":"path", "description":"", "type":"string", "required":true } ], "produces":[ "application/json" ], "responses":{ "200":{ "description":"successful operation", "schema":{ "$ref":"#\/definitions\/THE_REAL_STUFF_Response" } }, "500":{ "description":"error" } } } } }, "definitions":{ "THE_REAL_STUFF_Response":{ "type":"object", "properties":{ "DATA":{ "type":"object", "properties":{ "FOO":{ "type":"string" }, "BAR":{ "type":"string" } } } } } } }