diff --git a/buf.yaml b/buf.yaml index 5731f1a..3842c30 100644 --- a/buf.yaml +++ b/buf.yaml @@ -8,4 +8,5 @@ lint: - DEFAULT deps: - buf.build/googleapis/googleapis - - buf.build/srikrsna/protoc-gen-gotag \ No newline at end of file + - buf.build/srikrsna/protoc-gen-gotag + - buf.build/gogo/protobuf \ No newline at end of file diff --git a/mint.proto b/mint.proto index beafa5f..6b5a574 100644 --- a/mint.proto +++ b/mint.proto @@ -21,8 +21,8 @@ message PostMintQuoteBolt11Request { message PostMintQuoteBolt11Response { string quote = 1 [json_name = "quote"]; string request = 2 [json_name = "request"]; - bool paid = 3 [json_name = "paid"]; - int64 expiry = 4 [json_name = "expiry"]; + bool paid = 3 [json_name = "paid",(gogoproto.jsontag) = "paid"]; + int64 expiry = 4 [json_name = "expiry",(gogoproto.jsontag) = "expiry"]; }