Skip to content

Commit

Permalink
chore: revert openapi health patch
Browse files Browse the repository at this point in the history
  • Loading branch information
aeneasr committed Mar 25, 2024
1 parent a20fc9f commit 71b7352
Showing 1 changed file with 30 additions and 4 deletions.
34 changes: 30 additions & 4 deletions healthx/openapi/patch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,13 @@
content:
application/json:
schema:
"$ref": "#/components/schemas/healthStatus"
required:
- status
type: object
properties:
status:
description: Always "ok".
type: string
description: '{{.ProjectHumanName}} is ready to accept connections.'
default:
content:
Expand Down Expand Up @@ -46,13 +52,27 @@
content:
application/json:
schema:
"$ref": "#/components/schemas/healthStatus"
required:
- status
type: object
properties:
status:
description: Always "ok".
type: string
description: '{{.ProjectHumanName}} is ready to accept requests.'
'503':
content:
application/json:
schema:
"$ref": "#/components/schemas/healthNotReadyStatus"
required:
- errors
properties:
errors:
additionalProperties:
type: string
description: Errors contains a list of errors that caused the not ready status.
type: object
type: object
description: Ory Kratos is not yet ready to accept requests.
default:
content:
Expand Down Expand Up @@ -80,7 +100,13 @@
content:
application/json:
schema:
"$ref": "#/components/schemas/serviceVersion"
type: object
required:
- version
properties:
version:
description: The version of {{.ProjectHumanName}}.
type: string
description: Returns the {{.ProjectHumanName}} version.
summary: Return Running Software Version.
tags: {{ .HealthPathTags | toJson }}

0 comments on commit 71b7352

Please sign in to comment.