【发布时间】:2018-09-26 22:46:04
【问题描述】:
我有以下架构定义:
swagger: '2.0'
...
definitions:
Service:
type: object
properties:
serviceId:
type: string
description: Device or service identification number
example: 1111111111
location:
type: string
description: Location of the service
example: '400 Street name, City State postcode, Country'
我想将location 字段注释为已弃用。有没有办法做到这一点?
【问题讨论】:
标签: swagger swagger-2.0 openapi