Skip to content

Commit

Permalink
✨ [feat] swagger 경로 화이트리스트에 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
choyeongju committed Jul 3, 2024
1 parent 00fdd8d commit 16dcbe4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/main/java/nutshell/server/constant/AuthConstant.java
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@ public class AuthConstant {
public static final String ANONYMOUS_USER = "anonymousUser";
public static final String[] AUTH_WHITELIST = {
"/actuator/health",
"/api/**"
"/api/**",
"/v3/api-docs/**",
"/swagger-ui/**",
"/swagger-ui.html"
};
private AuthConstant() {
}
Expand Down

0 comments on commit 16dcbe4

Please sign in to comment.