diff --git a/healthx/openapi/patch.yaml b/healthx/openapi/patch.yaml index ba20da51..2d4baef3 100644 --- a/healthx/openapi/patch.yaml +++ b/healthx/openapi/patch.yaml @@ -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: @@ -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: @@ -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 }}