Skip to content

Commit

Permalink
Merge pull request #910 from catenax-ng/bug/392-add-http-400-response
Browse files Browse the repository at this point in the history
bug: 392 limit filter param to 1100 characters
  • Loading branch information
ds-mwesener authored Jan 16, 2024
2 parents 1e00736 + 8b0ba98 commit 5642f9d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public class SearchCriteriaRequestParam {
@ArraySchema(arraySchema = @Schema(description = "Filter Criteria", additionalProperties = Schema.AdditionalPropertiesValue.FALSE, example = "owner,EQUAL,OWN"), maxItems = Integer.MAX_VALUE)
List<String> filter;

public List<@Size(max = 1000, message = "Filter string should not be longer than 1000 characters.") String> getFilter() {
public List<@Size(max = 1100, message = "Filter string should not be longer than 1100 characters.") String> getFilter() {
return filter;
}

Expand Down

0 comments on commit 5642f9d

Please sign in to comment.