Skip to content

Commit 0e24144

Browse files
committed
chore: Add unknown to enums.
1 parent bded3ea commit 0e24144

File tree

2 files changed

+99
-83
lines changed

2 files changed

+99
-83
lines changed

apispecproto/asd_model.pb.go

Lines changed: 95 additions & 82 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

protobuf/asdstore/asd_model.proto

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ message ShortASD {
1717
}
1818

1919
enum SchemaType {
20-
UNKNOWN = 0;
20+
UNKNOWN_SCHEMA = 0;
2121
NOT_DEFINED = 1;
2222
OBJECT = 2;
2323
INTEGER = 3;
@@ -61,6 +61,7 @@ enum ParameterType {
6161
HEADER = 1;
6262
PATH = 2;
6363
COOKIE = 3;
64+
UNKNOWN_PARAM = 4;
6465
}
6566

6667
message Parameter {
@@ -86,6 +87,7 @@ enum MethodType {
8687
HEAD = 6;
8788
PATCH = 7;
8889
TRACE = 8;
90+
UNKNOWN_METHOD = 9;
8991
}
9092

9193
message ApiMethod {
@@ -110,6 +112,7 @@ message Group {
110112

111113
enum Type {
112114
OPEN_API = 0;
115+
UNKNOWN_API = 1;
113116
}
114117

115118
message FullASD {

0 commit comments

Comments
 (0)