Added SpringDoc

This commit is contained in:
Andrey Terentev 2024-02-14 19:21:27 +07:00 committed by Andrey Terentev
parent 4351f365c9
commit 08a5c65967
2 changed files with 5 additions and 0 deletions

View File

@ -16,6 +16,7 @@ dependencies {
implementation 'org.springframework.boot:spring-boot-starter-security' implementation 'org.springframework.boot:spring-boot-starter-security'
implementation 'org.springframework.boot:spring-boot-starter-web' implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.springframework.boot:spring-boot-starter-actuator' implementation 'org.springframework.boot:spring-boot-starter-actuator'
implementation 'org.springdoc:springdoc-openapi-starter-webmvc-ui:2.3.0'
runtimeOnly 'io.micrometer:micrometer-registry-prometheus' runtimeOnly 'io.micrometer:micrometer-registry-prometheus'

View File

@ -8,3 +8,7 @@ management:
metrics: metrics:
export: export:
enabled: true enabled: true
springdoc:
api-docs:
path: /api-docs