feat: next
This commit is contained in:
@ -2,11 +2,14 @@ syntax = "proto3";
|
||||
|
||||
package item.v1;
|
||||
|
||||
import "buf/validate/validate.proto";
|
||||
import "google/protobuf/timestamp.proto";
|
||||
|
||||
message Item {
|
||||
int64 id = 1;
|
||||
string name = 2;
|
||||
string name = 2 [
|
||||
(buf.validate.field).string.min_len = 3
|
||||
];
|
||||
google.protobuf.Timestamp added = 3;
|
||||
string description = 4;
|
||||
float price = 5;
|
||||
|
Reference in New Issue
Block a user