Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var BasicAuth = BasicAuthSecurity("BasicAuth", func() {
Description("Use client ID and client secret to authenticate")
})
View Source
var JWT = JWTSecurity("jwt", func() {
Header("Authorization")
Scope("api:write", "API write access")
Scope("api:read", "API read access")
})
View Source
var QuotePayload = Type("QuotePayload", func() {
Attribute("Name", func() {
MinLength(2)
Example("Number 8")
})
Attribute("Quote", func() {
MinLength(2)
Example("Asti")
})
})
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.