Skip to content

Commit

Permalink
add swagger description
Browse files Browse the repository at this point in the history
Took 2 minutes
  • Loading branch information
gribanoveu committed Jan 18, 2024
1 parent a2d0194 commit ee56305
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ public ResponseEntity<TokenResponse> refreshToken(@Valid @RequestBody RefreshTok
}

@GetMapping("/.well-known/jwks.json")
@Operation(summary = "Получить JWK Set", description = "Получить JWK Set для проверки токена на валидность")
public Map<String, Object> keys() {
return this.jwkSet.toJSONObject();
}
Expand Down

0 comments on commit ee56305

Please sign in to comment.