Skip to content

Commit

Permalink
generalize 422_COMPOSITION.yaml (#99 SPECITS-70)
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastian-iancu committed Apr 20, 2024
1 parent 216321b commit af1e4a0
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion specifications/operations/composition_create.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ responses:
'404':
$ref: ../responses/404_unknown_ehr_id.yaml
'422':
$ref: ../responses/422_COMPOSITION.yaml
$ref: ../responses/422.yaml
2 changes: 1 addition & 1 deletion specifications/operations/composition_update.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ responses:
'412':
$ref: ../responses/412_COMPOSITION.yaml
'422':
$ref: ../responses/422_COMPOSITION.yaml
$ref: ../responses/422.yaml
2 changes: 2 additions & 0 deletions specifications/responses/422.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
description: |
`422 Unprocessable Entity` is returned when the content type and syntax is correct, could be converted to a resource, but there are semantic validation errors, such as the underlying template is not known or is not validating the supplied resource.
2 changes: 0 additions & 2 deletions specifications/responses/422_COMPOSITION.yaml

This file was deleted.

0 comments on commit af1e4a0

Please sign in to comment.