Loading proto3-gen.md +2 −2 Original line number Diff line number Diff line Loading @@ -50,7 +50,7 @@ Below are some code generation examples for Python, Go and Ruby. For other langu - Models: ```sh $ python3 -m grpc_tools.protoc -I./proto3 --python_out=./python-stubs ./proto3/models/* $ python -m grpc_tools.protoc -I./proto3 --python_out=./python-stubs ./proto3/models/* ``` The above command will generate .py files for all the data models in the ./models directory Loading @@ -58,7 +58,7 @@ Below are some code generation examples for Python, Go and Ruby. For other langu - Services: ```sh $ python3 -m grpc_tools.protoc -I./proto3 --python_out=./python-stubs --grpc_python_out=./python-stubs ./proto3/services/location_service.proto $ python -m grpc_tools.protoc -I./proto3 --python_out=./python-stubs --grpc_python_out=./python-stubs ./proto3/services/location_service.proto ``` The above command will generate two files for the Location service: Loading proto3/README.md +2 −2 Original line number Diff line number Diff line Loading @@ -32,7 +32,7 @@ Below are some usage examples for Python, Go and Ruby. For other languages, plea - Models: ```sh $ python3 -m grpc_tools.protoc -I./proto3 --python_out=./python-stubs ./proto3/models/* $ python -m grpc_tools.protoc -I./proto3 --python_out=./python-stubs ./proto3/models/* ``` The above command will generate .py files for all the data models in the ./models directory Loading @@ -40,7 +40,7 @@ Below are some usage examples for Python, Go and Ruby. For other languages, plea - Services: ```sh $ python3 -m grpc_tools.protoc -I./proto3 --python_out=./python-stubs --grpc_python_out=./python-stubs ./proto3/services/location_service.proto $ python -m grpc_tools.protoc -I./proto3 --python_out=./python-stubs --grpc_python_out=./python-stubs ./proto3/services/location_service.proto ``` The above command will generate two files for the Location service: Loading proto3/models/access_point_get_by_id200_response.proto +1 −1 Original line number Diff line number Diff line Loading @@ -16,6 +16,6 @@ import public "models/access_point_info.proto"; message AccessPointGetById200Response { AccessPointInfo accessPointInfo = 0; AccessPointInfo accessPointInfo = 1; } proto3/models/access_point_info.proto +1 −1 Original line number Diff line number Diff line Loading @@ -19,7 +19,7 @@ import public "models/operation_status.proto"; message AccessPointInfo { // Identifier of access point. string accessPointId = 0; string accessPointId = 8; ConnectionType connectionType = 1; Loading proto3/models/access_point_list.proto +1 −1 Original line number Diff line number Diff line Loading @@ -17,7 +17,7 @@ import public "models/access_point_info.proto"; message AccessPointList { // Collection of the access point information list. repeated AccessPointInfo accessPoint = 0; repeated AccessPointInfo accessPoint = 3; // Self referring URL string resourceURL = 1; Loading Loading
proto3-gen.md +2 −2 Original line number Diff line number Diff line Loading @@ -50,7 +50,7 @@ Below are some code generation examples for Python, Go and Ruby. For other langu - Models: ```sh $ python3 -m grpc_tools.protoc -I./proto3 --python_out=./python-stubs ./proto3/models/* $ python -m grpc_tools.protoc -I./proto3 --python_out=./python-stubs ./proto3/models/* ``` The above command will generate .py files for all the data models in the ./models directory Loading @@ -58,7 +58,7 @@ Below are some code generation examples for Python, Go and Ruby. For other langu - Services: ```sh $ python3 -m grpc_tools.protoc -I./proto3 --python_out=./python-stubs --grpc_python_out=./python-stubs ./proto3/services/location_service.proto $ python -m grpc_tools.protoc -I./proto3 --python_out=./python-stubs --grpc_python_out=./python-stubs ./proto3/services/location_service.proto ``` The above command will generate two files for the Location service: Loading
proto3/README.md +2 −2 Original line number Diff line number Diff line Loading @@ -32,7 +32,7 @@ Below are some usage examples for Python, Go and Ruby. For other languages, plea - Models: ```sh $ python3 -m grpc_tools.protoc -I./proto3 --python_out=./python-stubs ./proto3/models/* $ python -m grpc_tools.protoc -I./proto3 --python_out=./python-stubs ./proto3/models/* ``` The above command will generate .py files for all the data models in the ./models directory Loading @@ -40,7 +40,7 @@ Below are some usage examples for Python, Go and Ruby. For other languages, plea - Services: ```sh $ python3 -m grpc_tools.protoc -I./proto3 --python_out=./python-stubs --grpc_python_out=./python-stubs ./proto3/services/location_service.proto $ python -m grpc_tools.protoc -I./proto3 --python_out=./python-stubs --grpc_python_out=./python-stubs ./proto3/services/location_service.proto ``` The above command will generate two files for the Location service: Loading
proto3/models/access_point_get_by_id200_response.proto +1 −1 Original line number Diff line number Diff line Loading @@ -16,6 +16,6 @@ import public "models/access_point_info.proto"; message AccessPointGetById200Response { AccessPointInfo accessPointInfo = 0; AccessPointInfo accessPointInfo = 1; }
proto3/models/access_point_info.proto +1 −1 Original line number Diff line number Diff line Loading @@ -19,7 +19,7 @@ import public "models/operation_status.proto"; message AccessPointInfo { // Identifier of access point. string accessPointId = 0; string accessPointId = 8; ConnectionType connectionType = 1; Loading
proto3/models/access_point_list.proto +1 −1 Original line number Diff line number Diff line Loading @@ -17,7 +17,7 @@ import public "models/access_point_info.proto"; message AccessPointList { // Collection of the access point information list. repeated AccessPointInfo accessPoint = 0; repeated AccessPointInfo accessPoint = 3; // Self referring URL string resourceURL = 1; Loading