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

后端 未结 3 602
死守一世寂寞
死守一世寂寞 2021-01-01 09:32

I\'m using http://editor.swagger.io to design an API and I get an error which I don\'t know how to address:

Schema error at paths[\'/employees/{employeeId}/r         


        
3条回答
  •  时光说笑
    2021-01-01 09:55

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

提交回复
热议问题