mik-laj commented on a change in pull request #9277:
URL: https://github.com/apache/airflow/pull/9277#discussion_r443195547
##########
File path: airflow/api_connexion/openapi/v1.yaml
##########
@@ -1123,16 +1123,21 @@ paths:
/health:
get:
- summary: Checks if the API works
+ summary: Returns the status of Airflow's metadatabase and scheduler.
operationId: airflow.api_connexion.endpoints.health_endpoint.get_health
tags: [Monitoring]
responses:
'200':
- description: It should always return "OK"
+ description: Returns info about metadatabase and last heart beat.
content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/HealthInfo'
text/plain:
schema:
type: string
+ '401':
+ $ref: '#/components/responses/Unauthenticated'
Review comment:
This should be publicly available so that other services can easily use
it
```suggestion
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]