我正在使用openapi 3并收到错误消息:
should have required property 'required'
missingProperty: required
这是我的文件:
openapi: 3.0.0
...
- name: count
in: path
description: "count"
schema:
type: boolean
如果我添加required: false
,则会出现另一个错误,提示required can only be true