play-swagger icon indicating copy to clipboard operation
play-swagger copied to clipboard

Request parameters not visible in Swagger ui

Open BartekH opened this issue 3 years ago • 0 comments

Query may handle multiple optional parameters, for such case "CarsSearch" case class has been defined with query string binders.

The problem is that swagger displays just one input string as parameter, it looks like it does not know how to handle case class in such situation. It shows request type as CarsSearch case class path application.models.request.CarsSearch and expect String, but it should expect multiple parameters defined in CarsSearch class.

How to fix it?

BartekH avatar Jul 15 '21 12:07 BartekH