From 001e7738f4968ec390ea8af36de019aa87e3c2f2 Mon Sep 17 00:00:00 2001 From: "puthuparambil.aditya" Date: Wed, 13 Jan 2021 12:06:20 +0000 Subject: Split OpenAPI yaml file 1. components like schema, parameters, responses, requestBodies all moved to components.yml (https://swagger.io/docs/specification/components/) 2. CpAdmin.yml includes the configuration details for cpsAdmin APIs 3. CpsData.yml includes the API configuration details for cpsData Issue-ID: CPS-155 Signed-off-by: puthuparambil.aditya Change-Id: I18fb9b8a2be85d180d4625657aca399dbf60b7bc --- .../groovy/org/onap/cps/rest/controller/AdminRestControllerSpec.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cps-rest/src/test/groovy/org') diff --git a/cps-rest/src/test/groovy/org/onap/cps/rest/controller/AdminRestControllerSpec.groovy b/cps-rest/src/test/groovy/org/onap/cps/rest/controller/AdminRestControllerSpec.groovy index 078253a64e..0a61c7dd59 100644 --- a/cps-rest/src/test/groovy/org/onap/cps/rest/controller/AdminRestControllerSpec.groovy +++ b/cps-rest/src/test/groovy/org/onap/cps/rest/controller/AdminRestControllerSpec.groovy @@ -122,7 +122,7 @@ class AdminRestControllerSpec extends Specification { MockMvcRequestBuilders .multipart(schemaSetsEndpoint) .file(multipartFile) - .param('schemaSetName', 'test-schema-set') + .param('schema-set-name', 'test-schema-set') ).andReturn().response } -- cgit 1.2.3-korg