Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita583cd5

Browse files
committed
revert swaggerparser change
1 parentf70fc02 commita583cd5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎coderd/coderdtest/swaggerparser.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,9 +89,9 @@ func parseSwaggerComment(commentGroup *ast.CommentGroup) SwaggerComment {
8989
failures: []response{},
9090
}
9191
for_,line:=rangecommentGroup.List {
92-
// @<annotationName> [args...]
92+
//"//@<annotationName> [args...]" -> []string{"//", "@<annotationName>", "args..."}
9393
splitN:=strings.SplitN(strings.TrimSpace(line.Text)," ",3)
94-
iflen(splitN)<2 {
94+
iflen(splitN)<3 {
9595
continue// comment prefix without any content
9696
}
9797

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp