MCPcopy Create free account
hub / github.com/a-h/rest / HasDescription

Method HasDescription

api.go:301–304  ·  view source on GitHub ↗

HasDescription sets the description for the route.

(description string)

Source from the content-addressed store, hash-verified

299
300// HasDescription sets the description for the route.
301func (rm *Route) HasDescription(description string) *Route {
302 rm.Description = description
303 return rm
304}
305
306// Models defines the models used by a route.
307type Models struct {

Callers 2

TestSchemaFunction · 0.80
mainFunction · 0.80

Calls

no outgoing calls

Tested by 1

TestSchemaFunction · 0.64