From 78c42467a2130a0cb0603fbd20aa2a9f9223b32e Mon Sep 17 00:00:00 2001 From: Matthias Fischer Date: Thu, 28 Mar 2024 05:16:44 +0100 Subject: [PATCH] fix(impl): [#199] add todo concerning OpenAPI response value description for GET policies --- .../irs/policystore/controllers/PolicyStoreController.java | 1 + 1 file changed, 1 insertion(+) diff --git a/irs-policy-store/src/main/java/org/eclipse/tractusx/irs/policystore/controllers/PolicyStoreController.java b/irs-policy-store/src/main/java/org/eclipse/tractusx/irs/policystore/controllers/PolicyStoreController.java index 0e26db38da..8cad644c21 100644 --- a/irs-policy-store/src/main/java/org/eclipse/tractusx/irs/policystore/controllers/PolicyStoreController.java +++ b/irs-policy-store/src/main/java/org/eclipse/tractusx/irs/policystore/controllers/PolicyStoreController.java @@ -144,6 +144,7 @@ public CreatePoliciesResponse registerAllowedPolicy(@Valid @RequestBody final Cr @ApiResponses(value = { @ApiResponse(responseCode = "200", description = "Returns the policies.", content = { @Content(mediaType = APPLICATION_JSON_VALUE, array = @ArraySchema( schema = @Schema(implementation = Policy.class))) + // TODO #199 OpenApi does not describe returned map correctly }), @ApiResponse(responseCode = "401", description = UNAUTHORIZED_DESC, content = { @Content(mediaType = APPLICATION_JSON_VALUE,