1、在schema schema-a 文件中定义如下模型
GpcsRet:
type: "object"
properties:
code:
type: "integer"
description: "返回码"
msg:
type: "string"
description: "返回描述"
2、是否可以在schema B 文件中如下引用
CommonRsp:
type: "object"
properties:
ret:
$ref: "schema-a.yaml#/definitions/GpcsRet"