Skip to content
Snippets Groups Projects
Commit eff7bd9d authored by Ján Macháček's avatar Ján Macháček
Browse files

feat: Adding error message

parent 01e157e8
No related branches found
No related tags found
No related merge requests found
......@@ -26,13 +26,12 @@ servers:
default: "8085"
tags:
- name: Report
description: Microservice for report.
description: Microservice for report pdf report.
paths:
/api/reports/flight/{id}:
get:
tags:
- Report
- Flight
summary: Get the report of flight.
description: |
Return the report of flight by its id in the PDF format
......@@ -51,4 +50,10 @@ paths:
application/pdf:
schema:
type: string
format: binary
\ No newline at end of file
format: binary
"404":
description: Not Found
content:
application/json:
schema:
$ref: '../core/openapi.yaml#/components/schemas/ErrorMessage'
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment