summaryrefslogtreecommitdiff
path: root/bug.proto
blob: 2bca0fe6a60e3bba55fd25a1763c21d72e8d99a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
syntax = "proto3";

// protobufs for git-bug

package bugpb;

// import "google/protobuf/timestamp.proto"; // Import the well-known type for Timestamp
import "google/protobuf/any.proto"; // Import 'Any'

message Bug {
        string         uuid        = 1;
        string         name        = 2;
        string         subject     = 3;
}

message Bugs {                           // `autogenpb:marshal`
        string         uuid        = 1;  // `autogenpb:uuid:cdf6711e-f948-4376-9e72-cf1912a96cee`
        string         version     = 2;  // `autogenpb:version:v1`
        repeated Bug   Bugs        = 3;  // this never gets used, but it's not worth violating the autogenpb standard
}