Skip to content

Commit

Permalink
Adds better documentation of where the mxid is required in its url fo… (
Browse files Browse the repository at this point in the history
#228)

* Adds better documentation of where the mxid is required in its url format



---------

Co-authored-by: TVRiddle <44850999+TVRiddle@users.noreply.github.com>
  • Loading branch information
Beff42 and TVRiddle authored Feb 16, 2024
1 parent e7a05b7 commit 6f7d025
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 6 deletions.
6 changes: 6 additions & 0 deletions ReleaseNotes.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

# Release Notes api-ti-messenger

## Hotfix 1.1.1-5

### added

- Additional examples and documentation for using the uri scheme of the matrix id (see https://spec.matrix.org/v1.3/appendices/#matrix-uri-scheme) in the FHIR directory.

## Hotfix 1.1.1-4

### changed
Expand Down
16 changes: 10 additions & 6 deletions src/openapi/TiMessengerTestTreiber.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -786,6 +786,7 @@ paths:
description: "MxId of account"
schema:
type: string
example: @someone:gematik.de

responses:
"200":
Expand Down Expand Up @@ -844,9 +845,10 @@ paths:
type: string
- name: contactMxid
in: query
description: "MXID of the Organization.contact."
description: "MXID of the Organization.contact in uri scheme."
schema:
type: string
example: matrix:u/someone:gematik.de
- name: contactName
in: query
description: "Name of the Organization.contact."
Expand Down Expand Up @@ -892,9 +894,10 @@ paths:
type: string
- name: mxId
in: query
description: "MxId standing in address field of the endpoint"
description: "MxId (in uri scheme) standing in address field of the endpoint"
schema:
type: string
example: matrix:u/someone:gematik.de

responses:
"200":
Expand Down Expand Up @@ -948,9 +951,10 @@ paths:
type: string
- name: mxid
in: query
description: "MXID of the Practitioner."
description: "MXID of the Practitioner in uri scheme."
schema:
type: string
example: matrix:u/someone:gematik.de

responses:
"200":
Expand Down Expand Up @@ -2316,7 +2320,7 @@ components:
$ref: "#/components/schemas/HomeserverSearchResult"

HomeserverSearchResult:
description: "A flat description of an endpoint with belonging healthcare-serviceand organization"
description: "A flat description of an endpoint with belonging healthcare-service and organization"
readOnly: true
type: object
properties:
Expand Down Expand Up @@ -2562,9 +2566,9 @@ components:
example: "active"
enum: [ active, suspended, inactive ]
address:
description: "For endpoint in tim context the mxid"
description: "For endpoint in tim context the mxid in uri scheme"
type: string
example: "@test:gematik.de"
example: "matrix:u/test:gematik.de"
connectionType:
$ref: "#/components/schemas/FhirConnectionType"
payloadType:
Expand Down

0 comments on commit 6f7d025

Please sign in to comment.