{
  "openapi": "3.0.4",
  "info": {
    "version": "1.0.0",
    "title": "customer-authentication",
    "description": "This is OpenAPI Spec for Omni Authentication.",
    "contact": {
      "name": "Omni API Support",
      "email": "DL-OmniAdapter@att.com"
    }
  },
  "servers": [
    {
      "url": "https://apporigin-apsntvap-test2-e2.az.3pc.att.com:8443/msapi/authentication"
    }
  ],
  "tags": [
    {
      "name": "authentication",
      "description": "Customer Authentication"
    }
  ],
  "paths": {
    "/healthz": {
      "get": {
        "tags": [
          "healthcheck"
        ],
        "description": "Health Check",
        "summary": "Get api health in the environment",
        "operationId": "healthz",
        "responses": {
          "200": {
            "description": "Success response for api availability",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/HealthCheck"
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "HealthCheck": {
        "title": "HealthCheck",
        "example": {
          "application_name": "omni",
          "message": "Application up and running",
          "time": "2025-04-025T20:10:26.843-05:00"
        },
        "type": "object",
        "required": [
          "application_name",
          "message",
          "time"
        ],
        "properties": {
          "application_name": {
            "type": "string"
          },
          "message": {
            "type": "string"
          }
        }
      },
      "Error": {
        "type": "object",
        "required": [
          "errorCode",
          "errorDescription"
        ],
        "properties": {
          "errorCode": {
            "description": "Application relevant detail, defined in the API or a common list.",
            "type": "string"
          },
          "errorDescription": {
            "description": "More details and corrective actions related to the error which can be shown to a client user.",
            "type": "string"
          },
          "path": {
            "description": "path to resource or subresource or action.",
            "type": "string"
          }
        }
      }
    },
    "securitySchemes": {
      "basicAuth": {
        "type": "http",
        "scheme": "basic"
      }
    }
  }
}