Skip to content

Commit

Permalink
Merge pull request #461 from NCATSTranslator/edeutsch-Query-message
Browse files Browse the repository at this point in the history
Make Query.message a oneOf $ref and nullable false
edeutsch authored Dec 15, 2023
2 parents ffb2fed + c17fe1b commit cc2b67d
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions TranslatorReasonerAPI.yaml
Original file line number Diff line number Diff line change
@@ -263,7 +263,9 @@ components:
type: object
properties:
message:
$ref: '#/components/schemas/Message'
oneOf:
- $ref: '#/components/schemas/Message'
nullable: false
description: >-
The query Message is a serialization of the user request. Content
of the Message object depends on the intended TRAPI operation. For
@@ -299,6 +301,7 @@ components:
properties:
callback:
type: string
nullable: false
format: uri
pattern: ^https?://
description: >-
@@ -311,7 +314,9 @@ components:
does not succeed, the server SHOULD retry the POST at least
once.
message:
$ref: '#/components/schemas/Message'
oneOf:
- $ref: '#/components/schemas/Message'
nullable: false
description: >-
The query Message is a serialization of the user request. Content
of the Message object depends on the intended TRAPI operation. For

0 comments on commit cc2b67d

Please sign in to comment.