You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd like OpenAPI/Swagger module for Lagom to produce full model body instead of or in addition to $ref: "#/components/schemas/Model". I need it to be done automatically fetching actual Model properties, not manually put example. I found how to do it with @BeanProperty but I'm wondering if there is another way to do that?
Hi, @max-moroz!
Scala case classes were discussed in #39
It's not a problem with Lagom OpenAPI. It's problem with the interop of Swagger (used Java reflection) and Scala. 🤷♂️
I'd like OpenAPI/Swagger module for Lagom to produce full model body instead of or in addition to
$ref: "#/components/schemas/Model"
. I need it to be done automatically fetching actual Model properties, not manually put example. I found how to do it with@BeanProperty
but I'm wondering if there is another way to do that?What I have now is:
but it doesn't produce full json body. Just this one with
$ref
:full json body returned when I add @BeanProperty to case class but I don't need this for my code, thus I believe this is not proper solution:
The text was updated successfully, but these errors were encountered: