Skip to content
Snippets Groups Projects
Commit 9c9c742a authored by Jonas Gröger's avatar Jonas Gröger :palm_tree:
Browse files

feat(linter): add /status

parent ddc3e534
No related branches found
No related tags found
1 merge request!18Umbenennung von Antragsformular / Dokument in Anhang
...@@ -36,6 +36,9 @@ paths: ...@@ -36,6 +36,9 @@ paths:
/info: /info:
$ref: './endpoints/info/get-info.yml' $ref: './endpoints/info/get-info.yml'
/status:
$ref: './endpoints/status.yml'
components: components:
securitySchemes: securitySchemes:
OAuth20: OAuth20:
...@@ -88,6 +91,8 @@ components: ...@@ -88,6 +91,8 @@ components:
$ref: './schemas/version.yml' $ref: './schemas/version.yml'
UpdateDestinationRequest: UpdateDestinationRequest:
$ref: './schemas/update-destination-request.yml' $ref: './schemas/update-destination-request.yml'
Status:
$ref: './schemas/status.yml'
examples: examples:
ApplicationCreatedResponse: ApplicationCreatedResponse:
......
get:
operationId: get-status
summary: Prüfe ob der Service läuft
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '../../schemas/status.yml'
example:
$ref: '../../examples/status.yml'
value:
status: "UP"
type: object
required:
- status
properties:
status:
type: string
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