definitions:
  checkapp.Info:
    properties:
      host:
        type: string
      status:
        type: string
      version:
        type: string
    type: object
  checkapp.Ready:
    properties:
      status:
        example: OK
        type: string
    type: object
  errs.Error:
    properties:
      code:
        type: string
      fields:
        items:
          $ref: '#/definitions/errs.FieldError'
        type: array
      message:
        type: string
    type: object
  errs.FieldError:
    properties:
      error:
        type: string
      name:
        type: string
    type: object
host: localhost:8901
info:
  contact: {}
  description: UDMG Secure Proxy Server handles incoming connections.
  title: UDMG Secure Proxy Server API
  version: "3.3.0"
paths:
  /v1/liveness:
    get:
      description: Returns simple status info if the service is alive.
      produces:
      - application/json
      responses:
        "200":
          description: OK
          schema:
            $ref: '#/definitions/checkapp.Info'
      summary: Returns simple status info if the service is alive.
      tags:
      - healthcheck
  /v1/metrics:
    get:
      description: Retrieve prometheus metrics.
      produces:
      - application/json
      responses:
        "200":
          description: OK
      summary: Retrieve prometheus metrics.
      tags:
      - metrics
  /v1/readiness:
    get:
      description: Checks if the database is ready.
      produces:
      - application/json
      responses:
        "200":
          description: OK
          schema:
            $ref: '#/definitions/checkapp.Ready'
        "503":
          description: Service Unavailable
          schema:
            $ref: '#/definitions/errs.Error'
      summary: Checks if the database is ready.
      tags:
      - healthcheck
swagger: "2.0"
