Skip to content

Commit 5599503

Browse files
committed
Update to the latest oatpp API version
1 parent 87dcca8 commit 5599503

File tree

7 files changed

+11
-11
lines changed

7 files changed

+11
-11
lines changed

book-service/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ target_include_directories(${project_name}-lib PUBLIC src)
2525

2626
## link libs
2727

28-
find_package(oatpp 0.19.12 REQUIRED)
29-
find_package(oatpp-swagger 0.19.12 REQUIRED)
28+
find_package(oatpp 1.0.0 REQUIRED)
29+
find_package(oatpp-swagger 1.0.0 REQUIRED)
3030

3131
target_link_libraries(${project_name}-lib
3232
PUBLIC oatpp::oatpp

book-service/src/book-service/AppComponent.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ namespace example { namespace book {
2121

2222
struct HostPort {
2323
oatpp::String host;
24-
v_word16 port;
24+
v_uint16 port;
2525
};
2626

2727

facade/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ target_include_directories(${project_name}-lib PUBLIC src)
2727

2828
## link libs
2929

30-
find_package(oatpp 0.19.12 REQUIRED)
31-
find_package(oatpp-swagger 0.19.12 REQUIRED)
30+
find_package(oatpp 1.0.0 REQUIRED)
31+
find_package(oatpp-swagger 1.0.0 REQUIRED)
3232

3333
target_link_libraries(${project_name}-lib
3434
PUBLIC oatpp::oatpp

facade/src/facade/AppComponent.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ namespace example { namespace facade {
2424

2525
struct HostPort {
2626
oatpp::String host;
27-
v_word16 port;
27+
v_uint16 port;
2828
};
2929

3030
class AppComponent {

monolith/all-services/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ target_link_libraries(${project_name}-exe
4141
PUBLIC ${FACADE_LIBRARY}
4242
)
4343

44-
find_package(oatpp 0.19.12 REQUIRED)
45-
find_package(oatpp-swagger 0.19.12 REQUIRED)
44+
find_package(oatpp 1.0.0 REQUIRED)
45+
find_package(oatpp-swagger 1.0.0 REQUIRED)
4646

4747
## define path to swagger-ui res folder
4848
add_definitions(-DOATPP_SWAGGER_RES_PATH="${OATPP_BASE_DIR}/bin/oatpp-swagger/res")

user-service/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ target_include_directories(${project_name}-lib PUBLIC src)
2525

2626
## link libs
2727

28-
find_package(oatpp 0.19.12 REQUIRED)
29-
find_package(oatpp-swagger 0.19.12 REQUIRED)
28+
find_package(oatpp 1.0.0 REQUIRED)
29+
find_package(oatpp-swagger 1.0.0 REQUIRED)
3030

3131
target_link_libraries(${project_name}-lib
3232
PUBLIC oatpp::oatpp

user-service/src/user-service/AppComponent.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ namespace example { namespace user {
2121

2222
struct HostPort {
2323
oatpp::String host;
24-
v_word16 port;
24+
v_uint16 port;
2525
};
2626

2727

0 commit comments

Comments
 (0)