[FINERACT-1863] Swagger schema fix for PutExternalEventConfigurationsRequest() and PutGlobalConfigurationsRequest()
This commit is contained in:
committed by
Arnold Gálovics
parent
f574ea7659
commit
1138b969e5
+1
-1
@@ -47,7 +47,7 @@ final class GlobalConfigurationApiResourceSwagger {
|
||||
@Schema(example = "true")
|
||||
public boolean enabled;
|
||||
@Schema(example = "2")
|
||||
public Long description;
|
||||
public Long value;
|
||||
}
|
||||
|
||||
@Schema(description = "PutGlobalConfigurationsResponse")
|
||||
|
||||
-1
@@ -86,7 +86,6 @@ public class ExternalEventConfigurationApiResource {
|
||||
@RequestBody(required = true, content = @Content(schema = @Schema(implementation = ExternalEventConfigurationApiResourceSwagger.PutExternalEventConfigurationsRequest.class)))
|
||||
@ApiResponses({
|
||||
@ApiResponse(responseCode = "200", description = "OK", content = @Content(schema = @Schema(implementation = CommandProcessingResult.class))) })
|
||||
|
||||
public String updateExternalEventConfigurationsDetails(@Parameter(hidden = true) final String apiRequestBodyAsJson) {
|
||||
context.authenticatedUser().validateHasUpdatePermission(RESOURCE_NAME_FOR_PERMISSIONS);
|
||||
final CommandWrapper commandRequest = new CommandWrapperBuilder() //
|
||||
|
||||
+1
-1
@@ -41,7 +41,7 @@ final class ExternalEventConfigurationApiResourceSwagger {
|
||||
private PutExternalEventConfigurationsRequest() {}
|
||||
|
||||
@Schema(example = "\"CentersCreateBusinessEvent\":true,\n" + "\"ClientActivateBusinessEvent\":true")
|
||||
public Map<String, Map<String, Boolean>> externalEventConfigurations;
|
||||
public Map<String, Boolean> externalEventConfigurations;
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user