File tree Expand file tree Collapse file tree
src/main/java/swyp/dodream/config Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11plugins {
22 id ' java'
3- id ' org.springframework.boot' version ' 3.5.6 '
3+ id ' org.springframework.boot' version ' 3.2.5 '
44 id ' io.spring.dependency-management' version ' 1.1.7'
55}
66
@@ -34,8 +34,8 @@ dependencies {
3434 // Redis
3535 implementation ' org.springframework.boot:spring-boot-starter-data-redis'
3636
37- // Swagger (OpenAPI 3.0)
38- implementation ' org.springdoc:springdoc-openapi-starter-webmvc-ui:2.6 .0'
37+ // Swagger (OpenAPI 3.0) - Spring Boot 3.2.5 호환 버전
38+ implementation ' org.springdoc:springdoc-openapi-starter-webmvc-ui:2.2 .0'
3939
4040 // Lombok
4141 compileOnly ' org.projectlombok:lombok'
Original file line number Diff line number Diff line change 22
33import io .swagger .v3 .oas .models .OpenAPI ;
44import io .swagger .v3 .oas .models .info .Info ;
5- import io .swagger .v3 .oas .models .servers .Server ;
65import org .springframework .context .annotation .Bean ;
76import org .springframework .context .annotation .Configuration ;
87
9- import java .util .List ;
10-
118@ Configuration
129public class SwaggerConfig {
1310
1411 @ Bean
1512 public OpenAPI openAPI () {
1613 return new OpenAPI ()
17- .info (apiInfo ());
18- }
19-
20- private Info apiInfo () {
21- return new Info ()
22- .title ("DoDream API" )
23- .description ("DoDream Backend API" )
24- .version ("v0.1.0" );
14+ .info (new Info ()
15+ .title ("DoDream API" )
16+ .description ("DoDream 백엔드 API 문서" )
17+ .version ("v1.0" ));
2518 }
2619}
27-
You can’t perform that action at this time.
0 commit comments