Skip to content

Commit

Permalink
docs: Swagger 화면에서 servers에 여러 개 항목 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
leegwichan committed Feb 3, 2025
1 parent ace3988 commit 445bc2a
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ dependencies {
implementation 'org.apache.poi:poi-ooxml:5.2.3'
implementation 'org.apache.poi:poi:5.2.3'

// JWT
implementation 'io.jsonwebtoken:jjwt-api:0.11.5'
implementation 'io.jsonwebtoken:jjwt-impl:0.11.5'
implementation 'io.jsonwebtoken:jjwt-gson:0.11.5'
Expand Down Expand Up @@ -103,7 +104,20 @@ generateSwaggerUI {
}

openapi3 {
server = "http://localhost:8080"
servers = [
{
url = "https://api.dev.debate-timer.com"
description = "Dev Server"
},
{
url = "https://api.prod.debate-timer.com"
description = "Prod Server"
},
{
url = "http://localhost:8080"
description = "Local Server"
}
]
title = "토론 타이머 API"
description = "토론 타이머 API"
version = "0.0.1"
Expand Down

0 comments on commit 445bc2a

Please sign in to comment.