Debian Codegraph @

tools/metadata/testdata/update-go/invalid/github/a.go

raw
1 package github
2
3 type AService struct{}
4
5 // NoOperation has no operation
6 func (*AService) NoOperation() {}
7
8 func (*AService) NoComment() {}
9
10 // Ambiguous has an operation that could resolve to multiple operations
11 //
12 //meta:operation GET /ambiguous/{}
13 func (*AService) Ambiguous() {}
14
15 // MissingOperation has an operation that is missing from the OpenAPI spec
16 //
17 //meta:operation GET /missing/{id}
18 func (*AService) MissingOperation() {}
19
20 // DuplicateOperations has duplicate operations
21 //
22 //meta:operation GET /a/{a_id}
23 //meta:operation POST /a/{a_id}
24 //meta:operation GET /a/{a_id}
25 func (*AService) DuplicateOperations() {}