跳到主要内容
版本:1.0

allOf 与嵌套 allOf

GET 

/allof-nested

一个演示嵌套 allOf 的示例。

模式:

allOf:
- type: object
properties:
outerProp:
type: object
allOf:
- type: object
properties:
innerProp1:
type: string
- type: object
properties:
innerProp2:
type: number
- type: object
properties:
otherOuterProp:
type: string

Responses

成功响应