[#24] Update examples and description in spec

Signed-off-by: Denis Kirillov <denis@nspcc.ru>
This commit is contained in:
Denis Kirillov 2022-07-20 18:16:30 +03:00 committed by Kirillov Denis
parent 8f4c94f134
commit b412af2e22
53 changed files with 685 additions and 207 deletions

View file

@ -14,7 +14,8 @@ import (
"github.com/go-openapi/swag"
)
// Bearer bearer
// Bearer Bearer token that is expected to be formed.
// Example: [{"name":"my-bearer-token","object":[{"action":"ALLOW","filters":[],"operation":"GET","targets":[{"keys":[],"role":"OTHERS"}]}]},{"container":{"verb":"PUT"},"name":"my token to create container"}]
//
// swagger:model Bearer
type Bearer struct {