Skip to content

Commit 6f7d025

Browse files
Beff42TVRiddle
andauthored
Adds better documentation of where the mxid is required in its url fo… (#228)
* Adds better documentation of where the mxid is required in its url format --------- Co-authored-by: TVRiddle <[email protected]>
1 parent e7a05b7 commit 6f7d025

File tree

2 files changed

+16
-6
lines changed

2 files changed

+16
-6
lines changed

ReleaseNotes.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
# Release Notes api-ti-messenger
44

5+
## Hotfix 1.1.1-5
6+
7+
### added
8+
9+
- 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.
10+
511
## Hotfix 1.1.1-4
612

713
### changed

src/openapi/TiMessengerTestTreiber.yaml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -786,6 +786,7 @@ paths:
786786
description: "MxId of account"
787787
schema:
788788
type: string
789+
example: @someone:gematik.de
789790

790791
responses:
791792
"200":
@@ -844,9 +845,10 @@ paths:
844845
type: string
845846
- name: contactMxid
846847
in: query
847-
description: "MXID of the Organization.contact."
848+
description: "MXID of the Organization.contact in uri scheme."
848849
schema:
849850
type: string
851+
example: matrix:u/someone:gematik.de
850852
- name: contactName
851853
in: query
852854
description: "Name of the Organization.contact."
@@ -892,9 +894,10 @@ paths:
892894
type: string
893895
- name: mxId
894896
in: query
895-
description: "MxId standing in address field of the endpoint"
897+
description: "MxId (in uri scheme) standing in address field of the endpoint"
896898
schema:
897899
type: string
900+
example: matrix:u/someone:gematik.de
898901

899902
responses:
900903
"200":
@@ -948,9 +951,10 @@ paths:
948951
type: string
949952
- name: mxid
950953
in: query
951-
description: "MXID of the Practitioner."
954+
description: "MXID of the Practitioner in uri scheme."
952955
schema:
953956
type: string
957+
example: matrix:u/someone:gematik.de
954958

955959
responses:
956960
"200":
@@ -2316,7 +2320,7 @@ components:
23162320
$ref: "#/components/schemas/HomeserverSearchResult"
23172321

23182322
HomeserverSearchResult:
2319-
description: "A flat description of an endpoint with belonging healthcare-serviceand organization"
2323+
description: "A flat description of an endpoint with belonging healthcare-service and organization"
23202324
readOnly: true
23212325
type: object
23222326
properties:
@@ -2562,9 +2566,9 @@ components:
25622566
example: "active"
25632567
enum: [ active, suspended, inactive ]
25642568
address:
2565-
description: "For endpoint in tim context the mxid"
2569+
description: "For endpoint in tim context the mxid in uri scheme"
25662570
type: string
2567-
example: "@test:gematik.de"
2571+
example: "matrix:u/test:gematik.de"
25682572
connectionType:
25692573
$ref: "#/components/schemas/FhirConnectionType"
25702574
payloadType:

0 commit comments

Comments
 (0)