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