MCPcopy Create free account
hub / github.com/APIParkLab/APIPark / Check

Method Check

plugins/openapi/check.go:38–43  ·  view source on GitHub ↗
(method string, path string)

Source from the content-addressed store, hash-verified

36}
37
38func (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
45func (o *openapiCheck) Sort() int {
46 return -1

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected