We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c5a3f0 commit 69b694cCopy full SHA for 69b694c
src/controller/UserController.hpp
@@ -34,7 +34,7 @@ class UserController : public oatpp::web::server::api::ApiController {
34
info->addConsumes<Object<UserDto>>("application/json");
35
36
info->addResponse<Object<UserDto>>(Status::CODE_200, "application/json");
37
- info->addResponse<Object<StatusDto>>(Status::CODE_500, "application/json");
+ info->addResponse<Object<StatusDto>>(Status::CODE_404, "application/json");
38
info->addResponse<Object<StatusDto>>(Status::CODE_500, "application/json");
39
}
40
ENDPOINT("POST", "users", createUser,
0 commit comments