Swagger XML attribute and content definition

前端 未结 1 473
感情败类
感情败类 2020-12-21 00:57

I would like to describe the XML response payload of a RESTful interface with swagger. However, I struggle describing a particular XML tag in the swagger data model.

相关标签:
1条回答
  • 2020-12-21 01:10

    Unfortunately there's no way to represent that using the OpenAPI Specification 2.0.

    This issue is being tracked here and could be addressed in future versions of the specification.

    0 讨论(0)
提交回复
热议问题