We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2920956 commit 912a04dCopy full SHA for 912a04d
src/dto/ConfigDto.hpp
@@ -7,9 +7,9 @@
7
8
#include OATPP_CODEGEN_BEGIN(DTO)
9
10
-class ConfigDto : public oatpp::Object {
+class ConfigDto : public oatpp::DTO {
11
12
- DTO_INIT(ConfigDto, Object)
+ DTO_INIT(ConfigDto, DTO)
13
14
DTO_FIELD(Int32, port);
15
DTO_FIELD(String, swaggerHost);
src/dto/ErrorDto.hpp
-class ErrorDto : public oatpp::Object {
+class ErrorDto : public oatpp::DTO {
- DTO_INIT(ErrorDto, Object)
+ DTO_INIT(ErrorDto, DTO)
DTO_FIELD(String, service) = "example-postgresql: user-service";
DTO_FIELD(Int32, code);
0 commit comments