feat: add token example

This commit is contained in:
Dominik Pschenitschni 2023-04-03 01:34:51 +02:00 committed by konrad
parent 4f7d69a108
commit 441722372a
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ const (
// Token represents an authentification token
type Token struct {
Token string `json:"token"`
Token string `json:"token" example:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c"`
}
// NewUserAuthTokenResponse creates a new user auth token response from a user object.