{ "openapi": "3.0.2", "info": { "title": "API", "description": "API", "version": "1.0.0" }, "servers": [ { "url": "http://localhost:8080" } ], "paths": { "/": { "get": { "parameters": [], "responses": { "204": { "description": "successful operation" } }, "security": [ { "bearer_auth": [] } ] } }, "/resources/{id}": { "post": { "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "204": { "description": "successful operation" } }, "security": [ { "bearer_auth": [] } ] } } }, "components": { "securitySchemes": { "bearer_auth": { "type": "http", "scheme": "bearer" } } } }