[BUG][Scala][sttp] Generated Code fails to compile when query parameters contain format
.
#10007
Open
5 of 6 tasks
Labels
Bug Report Checklist
Description
When I have the parameter named
format
, the code below is generated.The
format
in argument overrides the implicit valueformat
fromimport org.openapitools.client.core.JsonSupport._
, which causes compile to fail.openapi-generator version
OpenAPI declaration file content or url
Generation Details
Steps to reproduce
format
in query parameters.Related issues/PRs
OAI/OpenAPI-Specification#2298
Suggest a fix
Workaround:
openapi-generator/modules/openapi-generator/src/main/resources/scala-sttp/api.mustache
I think if it is possible to give alias to a parameter, this problem can be solved.
The text was updated successfully, but these errors were encountered: