diff --git a/src/openapi/I_VZD_TIM_Provider_Services.yaml b/src/openapi/I_VZD_TIM_Provider_Services.yaml index 516ada8e..594ee14c 100644 --- a/src/openapi/I_VZD_TIM_Provider_Services.yaml +++ b/src/openapi/I_VZD_TIM_Provider_Services.yaml @@ -224,15 +224,7 @@ paths: content: application/json: schema: - type: string - enum: [ org, pract, orgPract, none ] - example: org - description: | - Returns in which part of the directory the MXID is located: - - org: Located in the Organization part - - pract: Located in the Practitioner part - - orgPract: Located in the Organization and Practitioner part - - none: Not found in any part + $ref: "#/components/schemas/MxIdLocation" 400: description: Bad Request content: @@ -596,6 +588,17 @@ components: description: Die Version von dem OpenAPI Document (YAML Datei) example: "1.0.0" + MxIdLocation: + type: string + enum: [ org, pract, orgPract, none ] + example: org + description: | + Returns in which part of the directory the MXID is located: + - org: Located in the Organization part + - pract: Located in the Practitioner part + - orgPract: Located in the Organization and Practitioner part + - none: Not found in any part + securitySchemes: OAuth2: type: oauth2