Commit 25cbc156 authored by Muhammad Hamza's avatar Muhammad Hamza
Browse files

fix errors in Location API proto3

parent 2c462b81
Loading
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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
@@ -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:
+2 −2
Original line number Diff line number Diff line
@@ -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
@@ -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:
+1 −1
Original line number Diff line number Diff line
@@ -16,6 +16,6 @@ import public "models/access_point_info.proto";

message AccessPointGetById200Response {

  AccessPointInfo accessPointInfo = 0;
  AccessPointInfo accessPointInfo = 1;

}
+1 −1
Original line number Diff line number Diff line
@@ -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;

+1 −1
Original line number Diff line number Diff line
@@ -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