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
NB : that the file looks correct according to editor.swagger.io
NB2 : reproducible if droping the xml part
NB3 : can be tricky or a mistake from myself not 100 % sure, as redocly linter fails as well.
given an API Spec with a return content type set to application/xml it raise an error stating that example must be an object
Example for application/xml is not valid: expected object, but got string
i tried also the sample provided there https://swagger.io/docs/specification/data-models/representing-xml/ with no success as well
more details about how XML works here
https://spec.openapis.org/oas/latest.html#xml-modeling
https://spec.openapis.org/oas/latest.html#xml-object
NB : that the file looks correct according to editor.swagger.io
NB2 : reproducible if droping the xml part
NB3 : can be tricky or a mistake from myself not 100 % sure, as redocly linter fails as well.
sample to reproduce
The text was updated successfully, but these errors were encountered: