Skip to content

Commit

Permalink
fixing auth documentation (now right)
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanfallet committed Jan 29, 2024
1 parent 6a0be4a commit 8fa7283
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,9 @@ class AuthController(
return super.authorize(call, client)
}

@APIMapping("createToken", "Create a token")
@APIMapping
@CreateModelPath("/token")
@DocumentedType(AuthToken::class)
@DocumentedTag("Auth")
@DocumentedError(400, "auth_invalid_code")
@DocumentedError(500, "error_internal")
override suspend fun token(call: ApplicationCall, @Payload request: AuthRequest): AuthToken {
Expand Down

0 comments on commit 8fa7283

Please sign in to comment.