Skip to content

Commit

Permalink
Resolve incompatibilities and then address types changes motivated by…
Browse files Browse the repository at this point in the history
… updates #2559

Also add general request and error logging at the top level
  • Loading branch information
iamleeg committed Apr 19, 2022
1 parent f1266df commit 97a305e
Show file tree
Hide file tree
Showing 6 changed files with 667 additions and 122 deletions.
15 changes: 15 additions & 0 deletions verification/curator-service/api/openapi/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1959,6 +1959,13 @@ components:
$ref: '#/components/schemas/Date'
sideEffects:
$ref: '#/components/schemas/SymptomArray'
Error:
description: An error response
properties:
message:
description: A description of the error that occurred
example: User with ID 1235abcd453 was not found
type: string
responses:
'200':
description: OK
Expand Down Expand Up @@ -2150,8 +2157,16 @@ components:
description: Malformed request
'403':
description: Forbidden
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: Not found
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'422':
description: Unprocessable entity
'500':
Expand Down
Loading

0 comments on commit 97a305e

Please sign in to comment.