{"openapi":"3.0.1","info":{"title":"Routeplanner Mapview API","description":"Map Image service","version":"1.0"},"servers":[{"url":"https://api.company.info/routeplanner/mapview/"}],"tags":[{"name":"Mapview","description":"Route map view operations"}],"paths":{"/route":{"get":{"tags":["Mapview"],"summary":"Returns route of specific flexpolyline","operationId":"getRoute","parameters":[{"in":"query","name":"polyline","description":"The input to process","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Polyline"}}},"required":true}],"responses":{"200":{"description":"Mape image with route","content":{"image/png":{"schema":{"type":"string","format":"binary"}},"image/gif":{"schema":{"type":"string","format":"binary"}},"image/jpeg":{"schema":{"type":"string","format":"binary"}}}},"400":{"description":"Bad Request","content":{"image/png":{"schema":{"$ref":"#/components/schemas/Problem"}},"image/gif":{"schema":{"$ref":"#/components/schemas/Problem"}},"image/jpeg":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Not Found","content":{"image/png":{"schema":{"$ref":"#/components/schemas/Problem"}},"image/gif":{"schema":{"$ref":"#/components/schemas/Problem"}},"image/jpeg":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"500":{"description":"Internal Server Error","content":{"image/png":{"schema":{"$ref":"#/components/schemas/Problem"}},"image/gif":{"schema":{"$ref":"#/components/schemas/Problem"}},"image/jpeg":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"ApiKeyAuth":[]}],"x-codegen-request-body-name":"request"}}},"components":{"schemas":{"Polyline":{"required":["polyline"],"type":"object","properties":{"polyline":{"type":"string","description":"encoded polyline","example":"BGomr7jDi_klJkBmFsEgUgUsjD8BkI8B4I0UknDkD0PwC8LwC0KkDwM-BkI"}},"description":"Encoded Polyline"},"Problem":{"type":"object","properties":{"type":{"type":"string","description":"An absolute URI that identifies the problem type.  When dereferenced,\nit SHOULD provide human-readable documentation for the problem type\n(e.g., using HTML).\n","format":"uri","default":"about:blank"},"title":{"type":"string","description":"A short, summary of the problem type. Written in english and readable\nfor engineers (usually not suited for non technical stakeholders and\nnot localized); example: Service Unavailable\n"},"status":{"maximum":600,"minimum":100,"type":"integer","description":"The HTTP status code generated by the origin server for this occurrence\nof the problem.\n","format":"int32","example":503},"detail":{"type":"string","description":"A human readable explanation specific to this occurrence of the\nproblem.\n","example":"Connection to database timed out"},"instance":{"type":"string","description":"An absolute URI that identifies the specific occurrence of the problem.\nIt may or may not yield further information if dereferenced.\n","format":"uri"}}}},"responses":{"BadRequest":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"NotFound":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"InternalServerError":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","name":"X-API-Key","in":"header"}}},"x-readme":{"proxy-enabled":false},"x-original-swagger-version":"2.0"}