Skip to content

move GET /localization response object to schemas #158

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 12 additions & 9 deletions src/openapi/I_VZD_TIM_Provider_Services.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down