204代码状态的未知响应类型

时间:2017-10-06 09:13:42

标签: swagger

我需要描述我的应用程序的路由,因此我使用swagger:

Execute

我在swagger UI上遇到了这个错误:

TAdapter

在app.js上:

NpgsqlDataAdapter

如何解决这个问题?

1 个答案:

答案 0 :(得分:0)

Some responses, such as 204 No Content, have no body. To indicate the response body is empty, do not specify a content for the response:

参考:Empty Response Body

相关问题