From ea3ed33a7e556a00a96e3cb8dabdd01b225a1b95 Mon Sep 17 00:00:00 2001 From: rosensilva Date: Thu, 5 Oct 2023 14:38:09 +0530 Subject: [PATCH] fix test failures introduced by https://github.com/wso2/carbon-mediation/pull/1687 --- .../src/test/resources/SwaggerWithContext.json | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/components/mediation-admin/org.wso2.carbon.rest.api/src/test/resources/SwaggerWithContext.json b/components/mediation-admin/org.wso2.carbon.rest.api/src/test/resources/SwaggerWithContext.json index 1c6de9c2e42..13d5760e7cd 100644 --- a/components/mediation-admin/org.wso2.carbon.rest.api/src/test/resources/SwaggerWithContext.json +++ b/components/mediation-admin/org.wso2.carbon.rest.api/src/test/resources/SwaggerWithContext.json @@ -57,6 +57,22 @@ }, "/": { "put": { + "requestBody": { + "description": "Sample Payload", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "payload": { + "type": "object" + } + } + } + } + }, + "required": false + }, "responses": { "default": { "description": "Default response"