-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
JSON wrapper object not mapped to proper OpenAPI model #2884
Comments
I need this too :( |
@jbraga |
any progress on this issue? |
This is quite painful bug which blogs us to use specification generated from code. This test: Line 130 in 4f30e3e
It should be: employee.getProperties().get("employee").getProperties();
|
Is there anyone reading this, or has development on swagger stopped? |
frantuma
added a commit
that referenced
this issue
Apr 9, 2021
Thank you @frantuma! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When a class is annotated with
it is being serialized as an object, rather than a simple string.
The OpenAPI model for such a class is represented as a simple value.
See example attached to issue #2862.
Serialized:
Model:
The text was updated successfully, but these errors were encountered: