{"openapi":"3.0.1","info":{"title":"American Airlines PrintStreams","version":"1.0.0"},"servers":[{"description":"SwaggerHub API Auto Mocking","url":"https://virtserver.swaggerhub.com/robertfreyaldenhoven/American_PrintStreams/1.0.0"},{"url":"http://localhost:8080","description":"Generated server url"}],"paths":{"/api/v1/printstream/format":{"post":{"tags":["printstream-controller"],"operationId":"formatPrintStream","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrintStreamRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PrintStreamResponse"}}}}}}},"/api/v1/pectabs":{"get":{"tags":["pectab-controller"],"operationId":"getPectabs","parameters":[{"name":"X-Client-Id","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Pectab"}}}}}}}}},"components":{"schemas":{"PrintStreamRequest":{"required":["printStream"],"type":"object","properties":{"printStream":{"maxLength":2000,"minLength":5,"type":"string"}}},"PrintStreamResponse":{"type":"object","properties":{"printStream":{"type":"string"},"formatted":{"type":"boolean"}}},"Pectab":{"type":"object","properties":{"id":{"type":"integer","format":"int32"},"name":{"type":"string"},"data":{"type":"string"},"comments":{"type":"string"},"header":{"type":"string"}}}}}}