{ "openrpc": "1.2.6", "info": {"title": "www", "version": "0.1.0"}, "components": {"schemas": { "StartParams": { "description": "The server configuration.", "type": "object", "properties": {"port": {"type": "integer", "format": "uint16", "minimum": 0, "maximum": 65535, "description": "The HTTP port."}}, "required": ["port"] } }}, "methods": [{ "name": "start", "summary": "Start the HTTP server and return its process ID.", "params": [{"name": "port", "required": true, "schema": {"type": "integer", "format": "uint16", "minimum": 0, "maximum": 65535}}], "x-sausage-params": {"$ref": "#/components/schemas/StartParams"}, "result": {"name": "result", "schema": {"type": "string"}} }], "x-sausage-endpoints": {"control": {"methods": [{ "name": "stats", "summary": "Return the number of HTTP requests.", "params": [], "result": {"name": "result", "schema": {"type": "integer", "format": "uint64", "minimum": 0}} }]}} }