13 lines
325 B
YAML

type: object
properties:
username:
type: string
example: 'admin'
description: The username of the authenticated user.
roles:
type: array
items:
type: string
example: ['admin', 'user']
description: A list of roles assigned to the authenticated user.