小编mrp*_*low的帖子

使用 JSON 时 Swagger 描述中的新段落

使用 JSON 在 Swagger 中编写描述时如何创建新段落?

我只找到 YAML 的示例,当我像使用 Markdown 一样创建一个新段落时,验证失败并且文档不再呈现。

我想要的是

第一段描述了调用。

另一段提供了有关通话的更多信息。

我尝试过但不起作用

"description": "The first paragraph describes the call.

Another paragraph gives additional information about the call.",
Run Code Online (Sandbox Code Playgroud)

json github-flavored-markdown swagger-2.0

6
推荐指数
1
解决办法
9089
查看次数