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

Method commonApis

plugins/core/common.go:9–14  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

7)
8
9func (p *plugin) commonApis() []pm3.Api {
10 ignore.IgnorePath("login", http.MethodGet, "/api/v1/common/version")
11 return []pm3.Api{
12 pm3.CreateApiWidthDoc(http.MethodGet, "/api/v1/common/version", []string{"context"}, []string{"version", "build_time"}, p.commonController.Version),
13 }
14}

Callers 1

OnCompleteMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected