mirror of
https://github.com/gotify/server.git
synced 2026-05-06 21:42:07 +08:00
Make security more compact
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user