2.1.1 • Published 5 years ago

@maxdome/health v2.1.1

Weekly downloads
128
License
MIT
Repository
github
Last release
5 years ago

Provides an /health endpoint response with the health of the app in the Spring Boot format.

Usage

app.get('/health', require('@maxdome/health').controller({
  example: () => {},
}));

Example response

{
  "example": { status: "UP" },
  "status":"UP"
}

Plugins

Swagger

paths:
  /health:
    get:
      summary: "Healthcheck if the app is running correctly"
      responses:
        200:
          description: "OK"
          schema:
            type: object
            properties:
              status:
                type: string
                example: "UP"
        500:
          description: "Internal Server Error"
2.1.1

5 years ago

2.1.0

6 years ago

2.0.2

6 years ago

2.0.1

6 years ago

2.0.0

6 years ago

1.0.0

6 years ago