{
  "openapi": "3.0.4",
  "info": {
    "title": "vois-data Stammdaten API",
    "description": "Stammdaten API für Vois und zugehörige Anwendungen",
    "contact": {
      "name": "HSH Soft- und Hardware Vertriebs GmbH, Niederlassung: GS-Computerservice",
      "url": "https://www.gs-computerservice.de/"
    },
    "version": "v1"
  },
  "paths": {
    "/{procedure}/GetCodelist/{format}": {
      "get": {
        "tags": [
          "Data"
        ],
        "summary": "Generiert eine vollständige Codeliste aller verfügbaren Daten in dem angegebenen Format.",
        "parameters": [
          {
            "name": "procedure",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "enum": [
                "FUND"
              ],
              "type": "string"
            }
          },
          {
            "name": "format",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "enum": [
                "XML",
                "JSON",
                "XSD"
              ],
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Der Aufruf war erfolgreich"
          },
          "401": {
            "description": "Nicht authentifiziert",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "400": {
            "description": "Die geforderte Prozedur oder das geforderte Format ist nicht verfügbar",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "204": {
            "description": "Es konnten keine Inhalte zurückgegeben werden"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "ProblemDetails": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "nullable": true
          },
          "title": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "detail": {
            "type": "string",
            "nullable": true
          },
          "instance": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": { }
      }
    },
    "securitySchemes": {
      "ApiUuid": {
        "type": "apiKey",
        "description": "Gib hier den API Key an",
        "name": "ApiKey",
        "in": "header"
      }
    }
  },
  "security": [
    {
      "ApiUuid": [ ]
    }
  ]
}