diff options
Diffstat (limited to 'a1-policy-management/open-api-fragments/v2-fragments/healthcheck-api.yaml')
-rw-r--r-- | a1-policy-management/open-api-fragments/v2-fragments/healthcheck-api.yaml | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/a1-policy-management/open-api-fragments/v2-fragments/healthcheck-api.yaml b/a1-policy-management/open-api-fragments/v2-fragments/healthcheck-api.yaml new file mode 100644 index 00000000..f8d75612 --- /dev/null +++ b/a1-policy-management/open-api-fragments/v2-fragments/healthcheck-api.yaml @@ -0,0 +1,31 @@ +status: + get: + operationId: getStatusV1 + description: Returns status and statistics of this service + summary: Get Status (getStatusV1) + tags: + - Health Check + responses: + "200": + content: + '*/*': + schema: + type: string + description: OK - Service is living +status-v2: + get: + operationId: getStatus + description: Returns status and statistics of this service + summary: Get Status (getStatus) + tags: + - Health Check + responses: + "200": + content: + application/json: + schema: + $ref: 'schemas.yaml#/schemas/status_info' + examples: + status_info: + $ref: 'examples.yaml#/examples/status_info' + description: OK- Service is living Ok
\ No newline at end of file |