Skip to content

Commit

Permalink
Merge pull request #7 from SWM-M3PRO/feature/M3-136-swagger
Browse files Browse the repository at this point in the history
M3-136 스프링 스웨거 연동
  • Loading branch information
koomin1227 authored Jun 26, 2024
2 parents 1658305 + 1a35633 commit ec8e288
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ dependencies {
implementation 'org.springframework.boot:spring-boot-starter-security'
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.springframework.boot:spring-boot-starter-validation'
implementation 'org.springdoc:springdoc-openapi-starter-webmvc-ui:2.2.0'
implementation group: 'org.hibernate', name: 'hibernate-spatial', version: '6.4.2.Final'

compileOnly 'org.projectlombok:lombok'
developmentOnly 'org.springframework.boot:spring-boot-devtools'
runtimeOnly 'com.mysql:mysql-connector-j'
Expand Down
10 changes: 9 additions & 1 deletion src/main/resources/application.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
server:
port: 8080

springdoc:
swagger-ui:
path: /api/usage
api-docs:
path: /api/usage

spring:
datasource:
driver-class-name: com.mysql.cj.jdbc.Driver
Expand Down Expand Up @@ -41,7 +47,9 @@ spring:
jpa:
hibernate:
ddl-auto: none

springdoc:
api-docs:
enabled: false
---

spring:
Expand Down

0 comments on commit ec8e288

Please sign in to comment.