更新API定义期间出现SwaggerHub错误500

时间:2018-12-26 15:22:52

标签: rest postman http-status-code-500 swaggerhub

我尝试在SwaggerHub模拟服务器上更新API的swagger定义。为了测试,我从https://petstore.swagger.io/v2/swagger.json下载了swagger文件。并尝试将POST请求发送到swaggerhub.com/apis/was_mock/uber_private。

{owner} = was_mock和{api} = uber_private。

我还添加了标题“ Authorization”和我的密钥。附件为“表单数据”,名称为“定义”。

我发送请求时-我收到以下异常

{
    "code": 500,
    "message": "There was an error processing your request. It has been logged (ID: 25c6ad4735c99ccd)"
}

enter image description here

0 个答案:

没有答案