Skip to content

Commit

Permalink
docs: DDL 수정, swagger 적용 (#239)
Browse files Browse the repository at this point in the history
* chore: http Authorization 헤더 추가

* docs: ddl 컬럼 크기 변경

* docs: 컨트롤러 스웨거 추가

* chore: swagger 권한 설정

* chore: permitAll 로 임시 변경

* chore: swagger, h2-console 권한 변경, x-frame-options disable
  • Loading branch information
eunbc committed Jan 12, 2024
1 parent b2a9962 commit 234ac39
Showing 1 changed file with 10 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,14 @@ private RequestMatcher[] requestPermitAll() {
antMatcher("/swagger-ui/**"),
antMatcher("/swagger-ui"),
antMatcher("/swagger-ui.html"),
antMatcher("/v2/api-docs"),
antMatcher("/v3/api-docs"),
antMatcher("/webjars/**")
antMatcher("/swagger/**"),
antMatcher("/swagger-resources/**"),
antMatcher("/v3/api-docs/**"),
antMatcher("/webjars/**"),

// H2-CONSOLE
antMatcher("/h2-console/**")

);
return requestMatchers.toArray(RequestMatcher[]::new);
}
Expand Down Expand Up @@ -238,8 +243,10 @@ private void configureCommonSecuritySettings(HttpSecurity http) throws Exception
.formLogin().disable()
.httpBasic().disable()
.rememberMe().disable()
.headers().frameOptions().disable().and()
.logout().disable()
.sessionManagement()
.sessionCreationPolicy(SessionCreationPolicy.STATELESS);

}
}

0 comments on commit 234ac39

Please sign in to comment.