summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-09-22 08:48:06 -0500
committerJeff Carr <[email protected]>2025-09-22 08:48:06 -0500
commit3a13970536e0963a1b930102c01cfb9b5c91df17 (patch)
treea91d9f249bd9fd3628a562e65be632c613689ebf
parent0ccf2c09a4eb66b01e414f149f205c7af058f0bb (diff)
actually test http
-rw-r--r--example/fruit.proto4
1 files changed, 2 insertions, 2 deletions
diff --git a/example/fruit.proto b/example/fruit.proto
index f528c6c..0d28a13 100644
--- a/example/fruit.proto
+++ b/example/fruit.proto
@@ -55,7 +55,7 @@ message Basket { // `autogenpb:nomutex`
repeated Apple stacks = 6;
}
// "Fruit" must exist. you can put anything in it
-message Fruit {
+message Fruit { // `autogenpb:http`
string brand = 1; // `autogenpb:unique` `autogenpb:sort`
Apple apples = 2;
repeated Pear pears = 3;
@@ -68,7 +68,7 @@ message Fruit {
}
// "Fruits" MUST EXIST and start exactly this way
// It must be "Fruit" + 's' and must match the name of this file: "fruit.proto"
-message Fruits { // `autogenpb:marshal` `autogenpb:mutex` `autogenpb:gui`
+message Fruits { // `autogenpb:marshal` `autogenpb:mutex` `autogenpb:gui` `autogenpb:http`
string uuid = 1; // `autogenpb:uuid:be926ad9-f07f-484c-adf2-d96eeabf3079`
string version = 2; // `autogenpb:version:v0.0.1`
repeated Fruit Fruits = 3; // THIS MUST BE "Fruit" and then "Fruit" + "s"