Open jorgerod opened 1 year ago
Any advances?
My problem is when I create a application/x-www-form-urlencoded, any field of my object is create as parameter of method with @RequestParam and only works by url param, but not as form param.
If I change the definition and I make a class with my params with @RquestParams, it works fine.
Hi. Has this been fixed in any way?
Bug Report Checklist
Description
I am designing an API following the oauth2 protocol. In it, the encoding to use is
application/x-wwww-form-urlencoded
.Using that encoding algorithm and oneOf feature is not generating the code correctly.
openapi-generator version
6.4.0
OpenAPI declaration file content or url
Minimal sample
Generation Details
java -jar openapi-generator-cli.jar generate -i spec.yml -g spring -o out --global-property skipFormModel=false
Steps to reproduce
Output
Expected
I was expecting the input parameters to be like when the encoding is
application/json
.