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
If I have a REST API with a request body that has XML content instead of JSON, can Swagger automatically generate Swagger documentation for such an API? By this, I mean, just like for JSON REST APIs, this occurs in Spring Boot Java. Does the same also happen with XML?
XML: No way to have an object with both attribute and element value
e.g.
Some text
This is a revival of this issue from OpenAPI years ago:
OAI/OpenAPI-Specification#630
I can define a object that has attributes, and some that have element values but not both.
Simple solution would be:
Something like this should produce:
myvalue
The text was updated successfully, but these errors were encountered: