Make security more compact

This commit is contained in:
Jannis Mattheis
2018-11-24 10:56:55 +01:00
parent 9e7859c36c
commit 76ca344b77
5 changed files with 21 additions and 84 deletions

View File

@@ -124,10 +124,7 @@ func (a *API) register(client *client) {
// ---
// schema: ws, wss
// produces: [application/json]
// security:
// - clientTokenHeader: []
// - clientTokenQuery: []
// - basicAuth: []
// security: [clientTokenHeader: [], clientTokenQuery: [], basicAuth: []]
// responses:
// 200:
// description: Ok