I have a Spring Boot REST API, generated via OpenAPI that accepts a list of strings as a query parameter. However, when a tag contains a comma (,) (e.g., "Testing, String"), Spring automatically splits it into multiple values.
Example request: test/strings=Testing, String
Expected result: strings = ["Testing, String"] // strings.length = 1
Actual result: strings = ["Testing", "String"] // strings.length = 2
Even if passing "," as %2C Spring still splits the string. Is there a way of telling Spring which commas should split the string and which are part of the string itself.