【问题标题】:Schema Object “title” member using Springfox使用 Springfox 的模式对象“标题”成员
【发布时间】:2018-05-25 07:50:50
【问题描述】:

我正在使用 Springfox 为 Api 编写文档,我在使用 Dapperdox http://dapperdox.io 生成文档站点时遇到了一些问题,因为它要求存在可选的模式对象属性“title”。 http://dapperdox.io/docs/spec-resource-definitions - 有没有办法使用 Springfox 将“title”属性添加到定义或响应中? title member schema definition

【问题讨论】:

    标签: api spring-boot swagger-2.0 springfox


    【解决方案1】:

    从在 GitHub 上的 Springfox 存储库中打开并随后关闭的问题中,目前无法使用 Springfox 将“标题”添加到 Schema 对象。这在功能上应该是下一个版本的一部分!

    https://github.com/springfox/springfox/issues/2139

    【讨论】:

      猜你喜欢
      • 2016-10-27
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多