(method string, path string)
| 36 | } |
| 37 | |
| 38 | func (o *openapiCheck) Check(method string, path string) (bool, []gin.HandlerFunc) { |
| 39 | if strings.HasPrefix(path, "/openapi/") { |
| 40 | return true, []gin.HandlerFunc{o.Handler} |
| 41 | } |
| 42 | return false, nil |
| 43 | } |
| 44 | |
| 45 | func (o *openapiCheck) Sort() int { |
| 46 | return -1 |
nothing calls this directly
no outgoing calls
no test coverage detected