Skip to content

Commit b041ee6

Browse files
Copilotchenkasirer
andcommitted
Fix typo and consistency issues in proto definitions
Co-authored-by: chenkasirer <3398309+chenkasirer@users.noreply.github.com>
1 parent cd24712 commit b041ee6

4 files changed

Lines changed: 8 additions & 8 deletions

File tree

‎docs/protobuf.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,8 @@
114114

115115
| Field | Type | Label | Description |
116116
| ----- | ---- | ----- | ----------- |
117-
| guid | [string](#string) | | |
118-
| name | [string](#string) | | |
117+
| guid | [string](#string) | optional | |
118+
| name | [string](#string) | optional | |
119119
| vertices | [PointData](#compas_pb-data-PointData) | repeated | |
120120
| faces | [FaceData](#compas_pb-data-FaceData) | repeated | |
121121

@@ -669,7 +669,7 @@
669669
<a name="compas_pb-data-AnyData"></a>
670670

671671
### AnyData
672-
arbitrate container to hold message data and default data
672+
arbitrary container to hold message data and default data
673673

674674

675675
| Field | Type | Label | Description |

‎src/compas_pb/generated/datastructures_pb2.py‎

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎src/compas_pb/protobuf_defs/compas_pb/generated/datastructures.proto‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ message FaceData {
2424
}
2525

2626
message PolyhedronData {
27-
string guid = 1;
28-
string name = 2;
27+
optional string guid = 1;
28+
optional string name = 2;
2929
repeated PointData vertices = 3;
3030
repeated FaceData faces = 4;
3131
}

‎src/compas_pb/protobuf_defs/compas_pb/generated/message.proto‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ package compas_pb.data;
55
import "google/protobuf/any.proto";
66
import "google/protobuf/struct.proto";
77

8-
/** arbitrate container to hold message data and default data */
8+
/** arbitrary container to hold message data and default data */
99
message AnyData {
1010
oneof data {
1111
google.protobuf.Any message = 1;

0 commit comments

Comments
 (0)