I am designing an API with YAML first approach using openapi 3.0. There is a requirement to define Search API which will be A GET request and will take more than 10 values as search params.
I am using swagger codegen to generate spring boot server stubs from this YAMLs. How to define the YAMl , so that the codegen generates Multivaluemap as request parameter. Rather than having 10 different search parameters, because sonar lint will show that as a bad code.