【问题标题】:RAML Merge descriptionsRAML 合并说明
【发布时间】:2020-11-26 16:39:49
【问题描述】:

假设我们有一个类型 Book 声明为

type: object
properties:
  bookId: 
    type: StringId
    description: Book identifier

还有一个类型StringId

type: string
description: UTF-8 string, max length 256 characters

有没有办法将bookId 中的描述合并到BookStringId 中,以得到像这样呈现的bookId 的最终描述

Book identifier

UTF-8 string, max length 256 characters

我正在使用 raml2html 工具进行渲染

提前致谢!

【问题讨论】:

    标签: raml


    【解决方案1】:

    目前看来不可能 让我们看看 raml2html 是否可以扩展为 https://github.com/raml2html/raml2html/issues/425

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2016-12-25
      • 1970-01-01
      • 2013-03-27
      • 1970-01-01
      相关资源
      最近更新 更多