Skip to content

Commit 673840b

Browse files
authored
Merge branch 'master' into bug/NPA-4706/mark-post-consent-keys-as-required
2 parents 063797c + 46c673b commit 673840b

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

proxies/live/apiproxy/targets/target.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@
1818
<Name>RaiseFault.415UnsupportedMediaType</Name>
1919
<Condition>request.verb = "POST" and request.header.Content-Type != "application/fhir+json" and request.header.Content-Type != "application/fhir+json; charset=utf-8"</Condition>
2020
</Step>
21+
<Step>
22+
<Name>RaiseFault.415UnsupportedMediaType</Name>
23+
<Condition>request.verb = "PATCH" and request.header.Content-Type != "application/json-patch+json"</Condition>
24+
</Step>
2125
<Step>
2226
<Name>SetRequestAWSMimeType</Name>
2327
</Step>

specification/validated-relationships-service-api.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -815,6 +815,12 @@ paths:
815815
patchConsentRelationshipNotFoundError:
816816
$ref: "./examples/responses/PATCH_Consent/errors/resource_not_found.yaml#/PatchConsentRelationshipNotFoundError"
817817

818+
"415":
819+
description: Unsupported media type
820+
content:
821+
application/fhir+json:
822+
schema:
823+
$ref: "#/components/schemas/OperationOutcome"
818824
"422":
819825
description: Business rule validation failed
820826
content:

0 commit comments

Comments
 (0)