-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
1 changed file
with
26 additions
and
0 deletions.
There are no files selected for viewing
26 changes: 26 additions & 0 deletions
26
src/main/java/com/project/trainingdiary/config/SwaggerConfig.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
package com.project.trainingdiary.config; | ||
|
||
import io.swagger.v3.oas.annotations.OpenAPIDefinition; | ||
import io.swagger.v3.oas.annotations.info.Info; | ||
import io.swagger.v3.oas.annotations.servers.Server; | ||
|
||
@OpenAPIDefinition( | ||
info = @Info( | ||
title = "트레이닝 다이어리", | ||
version = "1.0", | ||
description = "트레이너의 일정을 예약하고, 운동을 기록합니다." | ||
), | ||
servers = { | ||
@Server( | ||
url = "http://localhost:8080", | ||
description = "Local Server" | ||
), | ||
@Server( | ||
url = "https://trainingdiaryapi.marcel-dev.com", | ||
description = "Stage Server" | ||
) | ||
} | ||
) | ||
public class SwaggerConfig { | ||
|
||
} |