{
  "openapi": "3.0.3",
  "info": {
    "title": "SIpress API",
    "version": "1.0.0",
    "description": "Offentlig helsesjekk for API-inngangen."
  },
  "servers": [
    {
      "url": "https://api.sipress.no"
    }
  ],
  "paths": {
    "/v1/health": {
      "get": {
        "summary": "Sjekk API-inngangen",
        "responses": {
          "200": {
            "description": "API-inngangen svarer",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "status",
                    "component"
                  ],
                  "properties": {
                    "status": {
                      "type": "string",
                      "enum": [
                        "ok"
                      ]
                    },
                    "component": {
                      "type": "string",
                      "enum": [
                        "sipress-api-gateway"
                      ]
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}
