Skip to content

Commit

Permalink
fixing openapi
Browse files Browse the repository at this point in the history
  • Loading branch information
LuciaM1 committed Jul 17, 2024
1 parent 73b7f3a commit 3023ca8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@ public class TerminalConfigs {
private Long templateVersion;

@Schema(type = SchemaType.ARRAY, maxItems = 10000)
private List<@NotNull @Size(max=20)String> terminalIds;
private List<String> terminalIds;
}
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ public Uni<BpmnDTO> upgradeBPMN(@Valid BpmnUpgradeDto bpmnUpgradeDto) {
@APIResponse(responseCode = "200", description = "Ok", content = @Content(schema = @Schema(type = SchemaType.ARRAY, implementation = BpmnBankConfigDTO.class)))
@APIResponse(responseCode = "4XX", description = "Bad Request", content = @Content(example = "{\"type\":\"BAD_REQUEST\", \"statusCode\":\"4XX\", \"message\":\"Messaggio di errore\", \"errorCode\":\"ATMLM_4000XXX\"}" ))
@APIResponse(responseCode = "500", description = "Internal Server Error", content = @Content(example = "{\"type\":\"GENERIC\", \"statusCode\":\"500\", \"message\":\"Si è verificato un errore imprevisto, vedere i log per ulteriori informazioni\", \"errorCode\":\"ATMLM_500\"}" ))
public @Schema(type = SchemaType.ARRAY, maxItems = 50000) Uni<List<BpmnBankConfigDTO>> getAssociations(@PathParam("acquirerId") @Schema(format = "byte", maxLength = 255) String acquirerId) {
public Uni<List<BpmnBankConfigDTO>> getAssociations(@PathParam("acquirerId") @Schema(format = "byte", maxLength = 255) String acquirerId) {
return bpmnBankConfigService.findByAcquirerId(acquirerId);
}

Expand Down

0 comments on commit 3023ca8

Please sign in to comment.