Swagger 2.0 で型モデルの定義プロパティを宣言したい
この定義は正しいですか?(特にタイプ: StatusObject 部分)
definitions:
MyObject:
type: "object"
properties:
id:
type: "number"
country:
type: "string"
status:
type: StatusObject
StatusObject:
type: "object"
properties:
code:
type: "number"
shortMessage:
type: "string"
message:
type: "string"
ありがとう!