diff --git a/cashu.proto b/cashu.proto index 1a4bdbb..610dcfa 100644 --- a/cashu.proto +++ b/cashu.proto @@ -21,6 +21,7 @@ service Mint { get: "/v1/keys" response_body: "message" additional_bindings { + body: "*" response_body: "message" } }; diff --git a/mint.proto b/mint.proto index 5e3b3ee..1c81bfc 100644 --- a/mint.proto +++ b/mint.proto @@ -4,6 +4,7 @@ import "message.proto"; import "signature.proto"; package cashu.v1; option go_package = "gen/go/cashurpc"; +import "google/protobuf/wrappers.proto"; enum UnitType { @@ -18,10 +19,10 @@ message PostMintQuoteBolt11Request { } message PostMintQuoteBolt11Response { - string quote = 1; - string request = 2; - bool paid = 3 ; - sint64 expiry = 4; + google.protobuf.StringValue quote = 1; + google.protobuf.StringValue request = 2; + google.protobuf.BoolValue paid = 3; + google.protobuf.UInt64Value expiry = 4; }