{ "swagger": "2.0", "info": { "description": "API for a Web Application", "version": "1.0", "title": "Example API" }, "host":"example.com", "paths": { "/example_get": { "get": { "tags": [ "json-endpoint" ], "consumes": [ "application/json" ], "produces": [ "application/json" ], "parameters":[ { "name":"example_parameter", "in":"query", "description":"example", "required":true, "type":"string" } ], "responses": { "200": { "description": "OK" } } } } } }