Swagger Editor shows the “Schema error: should NOT have additional properties” error for a path parameter

血红的双手。 提交于 2019-11-30 10:58:50

The error message is misleading. The actual error is that your path parameter is missing required: true. Path parameters are always required, so remember to add required: true to them.

The syntax requires might require two parameters, as mentioned by Helen required: true is need so is type:DataType . The error is misleading.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!