Skip to content
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

Produce Model JSON body instead of $ref #15

Open
max-moroz opened this issue Feb 22, 2021 · 1 comment
Open

Produce Model JSON body instead of $ref #15

max-moroz opened this issue Feb 22, 2021 · 1 comment

Comments

@max-moroz
Copy link

Hi all,

I'd like swagger to produce full model body for my Scala Model 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?

@ihostage
Copy link
Member

I don't know another way 🤷‍♂️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants