We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3abc397 commit 9cfb97bCopy full SHA for 9cfb97b
cmd/tools/openapi-preprocess/main.go
@@ -73,7 +73,7 @@ var wrapperTypeMappings = map[string]WrapperTypeMapping{
73
// Regex patterns for parsing proto files.
74
var (
75
servicePattern = regexp.MustCompile(`service\s+(\w+)`)
76
- messagePattern = regexp.MustCompile(`^message\s+(List\w+Request|Get\w+Request|Fct\w+|Dim\w+)`)
+ messagePattern = regexp.MustCompile(`^message\s+(List\w+Request|Get\w+Request|Fct\w+|Dim\w+|Int\w+)`)
77
fieldCommentPattern = regexp.MustCompile(`^\s*//\s*(.+)`)
78
fieldPattern = regexp.MustCompile(`^\s*(?:\w+)\s+(\w+)\s+=\s+\d+`)
79
wrapperFieldPattern = regexp.MustCompile(`^\s*google\.protobuf\.(\w+)\s+(\w+)\s+=\s+\d+`)
0 commit comments