Skip to content

Commit

Permalink
Marks required properties as required (#233)
Browse files Browse the repository at this point in the history
* Marks required properties as required

* Bumps api version

* Merges incoming changes
  • Loading branch information
Beff42 authored Apr 16, 2024
1 parent dbe5750 commit c15b9c8
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 2 deletions.
1 change: 1 addition & 0 deletions ReleaseNotes.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
### changed

- changed FHIR status inactive to "off" to be FHIR compliant
- all properties required by the Testsuite marked as required in TiMessengerTestTreiber.yaml

## Hotfix 1.1.1-7

Expand Down
37 changes: 35 additions & 2 deletions src/openapi/TiMessengerTestTreiber.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ openapi: 3.0.3
info:
title: TiMessengerTestDriver
description: REST interface to automate the test of a TI-Messenger client implementation.
version: 0.9.6
version: 0.9.7
contact:
name: gematik GmbH
email: [email protected]
Expand Down Expand Up @@ -1812,6 +1812,7 @@ components:
- testDriverVersion
- homeserver
- contact
- description
readOnly: true
type: object
properties:
Expand Down Expand Up @@ -2162,6 +2163,9 @@ components:
description: "A message and its metadata"
readOnly: true
type: object
required:
- author
- MessageContent
properties:
messageId:
type: string
Expand Down Expand Up @@ -2259,6 +2263,9 @@ components:

Room:
description: "Information about a room and its members"
required:
- RoomMembers
- RoomProperties
allOf:
- $ref: "#/components/schemas/RoomProperties"
- $ref: "#/components/schemas/RoomMembers"
Expand All @@ -2268,6 +2275,8 @@ components:
type: object
required:
- name
- roomId
- roomAccess
properties:
name:
type: string
Expand Down Expand Up @@ -2302,6 +2311,9 @@ components:
RoomMember:
description: ""
type: object
required:
- mxid
- membershipState
properties:
mxid:
description: "MxId as identifier, refers to an existing account"
Expand All @@ -2313,6 +2325,8 @@ components:
RoomMembers:
description: "List of room associated accounts and their states"
type: object
required:
- members
properties:
members:
type: array
Expand Down Expand Up @@ -2405,6 +2419,9 @@ components:
description: "The result for a search request for on homeserver"
readOnly: true
type: object
required:
- totalSearchResults
- searchResults
properties:
totalSearchResults:
description: "Total result count for this search. The number of entries in searchResults may be less or equal this number."
Expand All @@ -2420,6 +2437,8 @@ components:
description: "A flat description of an endpoint with belonging healthcare-service and organization"
readOnly: true
type: object
required:
- mxId
properties:
mxId:
description: "The Matrix-ID of an account"
Expand All @@ -2433,6 +2452,9 @@ components:
FhirSearchResult:
description: "A FHIR Bundle containing search results"
type: object
required:
- total
- entry
properties:
resourceType:
type: string
Expand Down Expand Up @@ -2506,6 +2528,8 @@ components:
FhirEntry:
description: "FhirSearchEntry"
type: object
required:
- resource
properties:
fullUrl:
type: string
Expand All @@ -2530,6 +2554,7 @@ components:
Practitioner: "#/components/schemas/FhirPractitioner"
required:
- resourceType
- id
properties:
resourceType:
$ref: "#/components/schemas/FhirResourceType"
Expand Down Expand Up @@ -2620,6 +2645,8 @@ components:
allOf:
- $ref: "#/components/schemas/FhirBaseResource"
type: object
required:
- practitioner
properties:
practitioner:
$ref: "#/components/schemas/FhirReference"
Expand Down Expand Up @@ -2648,6 +2675,9 @@ components:
allOf:
- $ref: "#/components/schemas/FhirBaseResource"
type: object
required:
- name
- address
properties:
name:
type: string
Expand Down Expand Up @@ -2709,7 +2739,6 @@ components:
description: "Start time"
example: "18:00:00"


FhirAddress:
type: object
description: "Possible address"
Expand Down Expand Up @@ -2760,6 +2789,8 @@ components:
FhirReference:
description: "Reference to another FhirRessource"
type: object
required:
- reference
properties:
reference:
type: string
Expand Down Expand Up @@ -2854,6 +2885,8 @@ components:
FhirName:
type: object
description: "Personal data of practitioner"
required:
- text
properties:
use:
example: "usual"
Expand Down

0 comments on commit c15b9c8

Please sign in to comment.