From cc935974e71bc65b77156ea1d7e60a0c497258fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EB=B0=95=EC=A0=95=EB=AF=BC?= Date: Wed, 24 Jul 2024 13:17:44 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20swagger=20context-path=20=EC=84=A4?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/com/edufocus/edufocus/swagger/SwaggerConfig.java | 1 + backend/src/main/resources/application.properties | 3 +++ 2 files changed, 4 insertions(+) diff --git a/backend/src/main/java/com/edufocus/edufocus/swagger/SwaggerConfig.java b/backend/src/main/java/com/edufocus/edufocus/swagger/SwaggerConfig.java index 7d71ef7..970f7ba 100644 --- a/backend/src/main/java/com/edufocus/edufocus/swagger/SwaggerConfig.java +++ b/backend/src/main/java/com/edufocus/edufocus/swagger/SwaggerConfig.java @@ -15,6 +15,7 @@ public class SwaggerConfig { .info(new Info() .title("에듀포커스 API") .description("") + .version("1.0.0")); } } \ No newline at end of file diff --git a/backend/src/main/resources/application.properties b/backend/src/main/resources/application.properties index 71bd62a..76ad644 100644 --- a/backend/src/main/resources/application.properties +++ b/backend/src/main/resources/application.properties @@ -28,6 +28,9 @@ spring.jpa.hibernate.ddl-auto=create spring.jpa.show-sql=true +springdoc.api-docs.path=/api/v3/api-docs +springdoc.swagger-ui.path=/api/swagger-ui.html + spring.mail.host=smtp.gmail.com spring.mail.port=587 #spring.mail.username=ssafytestpjt