Skip to content

Commit b94931e

Browse files
Anthony TODISCOAnthony TODISCO
authored andcommitted
chore: Update protobuf samples
1 parent 20df8ec commit b94931e

6 files changed

Lines changed: 8 additions & 8 deletions

File tree

samples/config/petstore/protobuf-schema-config-complex/models/dog.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ message Dog {
2626
BREED_SHEPHERD = 4;
2727
}
2828

29-
Breed breed = 2;
29+
string breed = 2;
3030

3131
map<string, Pet> pet = 3;
3232

samples/config/petstore/protobuf-schema-config-complex/models/pet.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ message Pet {
3535
STATUS_SOLD = 3;
3636
}
3737

38-
Status status = 6;
38+
string status = 6;
3939

4040
}
4141

samples/config/petstore/protobuf-schema-config/models/data.proto

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ message Dog {
5656
SHEPHERD = 4;
5757
}
5858

59-
Breed breed = 2;
59+
string breed = 2;
6060

6161
}
6262

@@ -88,7 +88,7 @@ message Order {
8888
DELIVERED = 3;
8989
}
9090

91-
Status status = 5;
91+
string status = 5;
9292

9393
bool complete = 6;
9494

@@ -122,7 +122,7 @@ message Pet {
122122
SOLD = 3;
123123
}
124124

125-
Status status = 6;
125+
string status = 6;
126126

127127
}
128128

samples/config/petstore/protobuf-schema/models/dog.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ message Dog {
2424
BREED_SHEPHERD = 3;
2525
}
2626

27-
Breed breed = 94001524;
27+
string breed = 94001524;
2828

2929
}
3030

samples/config/petstore/protobuf-schema/models/order.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ message Order {
3131
STATUS_DELIVERED = 2;
3232
}
3333

34-
Status status = 355610639;
34+
string status = 355610639;
3535

3636
bool complete = 62574280;
3737

samples/config/petstore/protobuf-schema/models/pet.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ message Pet {
3434
STATUS_SOLD = 2;
3535
}
3636

37-
Status status = 355610639;
37+
string status = 355610639;
3838

3939
}
4040

0 commit comments

Comments
 (0)