Update swagger:meta API info
* Include details about what API consumes / produces. * Add info about GARM authentication. Signed-off-by: Ionut Balutoiu <ibalutoiu@cloudbasesolutions.com>
This commit is contained in:
parent
5e18f8570e
commit
a952729082
1 changed files with 17 additions and 0 deletions
|
|
@ -20,6 +20,23 @@
|
|||
// Version: 1.0.0
|
||||
// License: Apache 2.0 https://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Consumes:
|
||||
// - application/json
|
||||
//
|
||||
// Produces:
|
||||
// - application/json
|
||||
//
|
||||
// Security:
|
||||
// - Bearer:
|
||||
//
|
||||
// SecurityDefinitions:
|
||||
// Bearer:
|
||||
// type: apiKey
|
||||
// name: Authorization
|
||||
// in: header
|
||||
// description: >-
|
||||
// The token with the `Bearer: ` prefix, e.g. "Bearer abcde12345".
|
||||
//
|
||||
// swagger:meta
|
||||
package routers
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue