{ "openapi" : "3.0.1", "info" : { "title" : "File Management API", "version" : "v1.0.0" }, "servers" : [ { "url" : "http://localhost:8111", "description" : "Generated server url" } ], "security" : [ { "bearerAuth" : [ ] } ], "tags" : [ { "name" : "File Management API", "description" : "File Management API" } ], "paths" : { "/files/upload" : { "post" : { "tags" : [ "File Management API" ], "summary" : "Test Endpoint", "operationId" : "upload", "requestBody" : { "content" : { "multipart/form-data" : { "schema" : { "required" : [ "file", "request" ], "type" : "object", "properties" : { "request" : { "$ref" : "#/components/schemas/GreetRequest" }, "file" : { "type" : "string", "format" : "binary" }, "My-Header" : { } } } } } }, "responses" : { "200" : { "description" : "OK", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/GreetResponse" } } } } } } } }, "components" : { "schemas" : { "GreetRequest" : { "type" : "object", "properties" : { "message1" : { "type" : "string" }, "message2" : { "type" : "string" }, "message3" : { "type" : "string" } } }, "GreetResponse" : { "type" : "object", "properties" : { "message" : { "type" : "string" } } } }, "securitySchemes" : { "bearerAuth" : { "type" : "http", "scheme" : "bearer", "bearerFormat" : "JWT" } } } }