问题描述
我有以下端点的swagger规范:
records-by-time:
post:
operationId: idOfRecordsByTimeEndpoint
parameters:
- in: body
name: Body
schema:
$ref: '#/deFinitions/RecordsByTimeRequest'
responses:
"200":
$ref: '#/responses/RecordsByTimeResponse'
summary: 'Return records where fieldName value lies between #/deFinitions/RecordsByTimeRequest/left_bound and right_bound.'
tags:
- get-records
我有以下定义
deFinitions:
RecordsByTimeRequest:
properties:
driver_name:
type: string
x-go-name: DriverName
field_name:
type: string
x-go-name: FieldName
left_bound:
format: date-time
type: string
x-go-name: LeftBound
right_bound:
format: date-time
type: string
x-go-name: RightBound
table_name:
type: string
x-go-name: TableName
我可以在请求定义中的摘要引用left_bound中制作left_bound,也许是请求定义字段中字段的链接?如果可以,如何将其应用于大张旗鼓的评论。
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)