diff --git a/aep/general/0134/aep.md.j2 b/aep/general/0134/aep.md.j2 index d2c75d46..d8e44abf 100644 --- a/aep/general/0134/aep.md.j2 +++ b/aep/general/0134/aep.md.j2 @@ -100,6 +100,11 @@ Update methods implement a common request pattern: {% sample '../example.oas.yaml', '$.paths./publishers.post.requestBody' %} +- The method **must** adhere to the behavior specified in [IETF RFC 7396 - JSON + Merge Patch](https://datatracker.ietf.org/doc/html/rfc7396). +- The method **must** support MIME types `application/merge-patch+json` to + adhere to IETF RFC 7396. + {% endtabs %} ### Responses diff --git a/aep/general/example.oas.yaml b/aep/general/example.oas.yaml index dd36f7e2..e5f856ea 100644 --- a/aep/general/example.oas.yaml +++ b/aep/general/example.oas.yaml @@ -202,14 +202,14 @@ paths: type: string requestBody: content: - application/json: + application/merge-patch+json: schema: $ref: '#/components/schemas/publisher' required: true responses: '200': content: - application/json: + application/merge-patch+json: schema: $ref: '#/components/schemas/publisher' description: Successful response @@ -311,14 +311,14 @@ paths: type: string requestBody: content: - application/json: + application/merge-patch+json: schema: $ref: '#/components/schemas/book' required: true responses: '200': content: - application/json: + application/merge-patch+json: schema: $ref: '#/components/schemas/book' description: Successful response