From 3a13970536e0963a1b930102c01cfb9b5c91df17 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Mon, 22 Sep 2025 08:48:06 -0500 Subject: [PATCH] actually test http --- example/fruit.proto | 4 ++-- 1 file 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"