design

package
v0.0.0-...-722e3b2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 1, 2018 License: MIT Imports: 2 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL