Skip to content

Swagger.yml doesn't match the implementation for health endpoint #75

Description

@cmancrypto

Swagger.yml has everything under:

servers:
  - url: https://localhost:5000/api/v1

Including the health endpoint - however health is available at:

https://localhost:5000/health

Health schema is also missing - should be:

/health:
    get:
      responses:
        '200':
          description: Health check endpoint
          content:
            application/json:
              schema:
                type: object
                properties:
                  commit:
                    type: string
                    description: Git commit hash
                  version:
                    type: string
                    description: API version

Unsure if preference is to move health to the existing server path or update Swagger to match.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions