-
Notifications
You must be signed in to change notification settings - Fork 130
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Schema type generator #61
Comments
can you be more specific about the following paragraph?
seems to me the same field you have on the class above. |
Yes they looks similar
but behave different, probably because types used for field above are mapped into default |
I think this is a bug when type with binary type parameters (in your case Either) is involved. In particular |
Yes it's extract wrong type name eg. |
How do you encode a high kinded type with binary type parameter in Json? We can parse a value to an |
I have the same problem with a Map[String, Set[B]]:
With exception
|
as of now, play-swagger does not understand type with multiple type parameters. One option is to use custom type mapping https://github.com/iheartradio/play-swagger#how-to-override-type-mappings |
Can anyone involved in this discussion has figured out a way to define a working custom mapping override for this example: |
For swagger v3, you can express |
There is a problem with parsing custom types and used them as
input
oroutput
definition. When trying use such classon some route
i got exception
it's only apear when add field
test: Either[Unit, Option[Test2Input]]
currentyl using Play 2.4.6 and
propably there will be problem with parsing types in
The text was updated successfully, but these errors were encountered: