{ "swagger": "2.0", "info": { "version": "1.0.0", "title": "Example API" }, "host": "example.org", "basePath": "/api", "schemes": [ "http" ], "paths": { "/example": { "get": { "summary": "Get a random example", "responses": { "200": { "description": "An example", "schema": { "$ref": "#/definitions/Example" } } } } } }, "definitions": { "Example": { "type": "object", "additionalProperties": false, "properties": { "id": { "type": "string" } } } } }