Open webron opened 8 years ago
From @fehguy on April 2, 2015 4:20
Will look into this for m3.
Sorry for the delayed response. Since we're not going to deal with it in 1.3, I've made reference to it from #918 so we can look into it in the new module.
From @sebigavril on April 1, 2015 13:14
_Swagger does not work with custom binders defined in Play Framework. Please add support for documenting binders. _
For example... Using Play Framework, I have defined this route:
I use swagger to document the route:
All works well. However, when I try to define a binder for page and pageSize, Swagger doesn't work any more. The binder works if I disable Swagger. This is the exception that is thrown:
I'm supposing that Swagger is confused because the route defines a total of 3 parameters, but the endpoint now defines only 2 because of the binder.
cc @fehguy
Copied from original issue: swagger-api/swagger-core#956