【发布时间】:2022-01-03 19:41:48
【问题描述】:
如何将这个带有oneOf 的sn-p 调整为等效的OpenAPI 2.0 版本?
formats:
type: array
description: Possible parameter format.
items:
oneOf:
- type: string
- type: object
description: Matched alias formats
properties:
representation:
type: array
description: Alias format representations
items:
type: string
match_multiple:
type: boolean
optional: true
display:
type: string
description: Display string of alias format
【问题讨论】:
标签: swagger openapi swagger-2.0