feature: add spring doc api annotation (#173)

* feat: rename @Operation to @AuditLog

* feat: add swagger annotation to api
This commit is contained in:
vran
2022-05-14 13:31:11 +08:00
committed by GitHub
parent 5b9728282b
commit cf8d106f1f
23 changed files with 185 additions and 58 deletions

View File

@@ -1,6 +1,7 @@
server.port=8080
logging.level.org.jooq=INFO
spring.jooq.sql-dialect=mysql
springdoc.swagger-ui.path=/open-api.html
# flyway
spring.flyway.enabled=true
spring.flyway.baseline-on-migrate=true

View File

@@ -14,4 +14,6 @@ spring.flyway.baseline-on-migrate=true
spring.flyway.locations=classpath:db/migration
# driver directory
databasir.db.driver-directory=drivers
databasir.jwt.secret=${DATABASIR_JWT_SECRET:${random.uuid}}
databasir.jwt.secret=${DATABASIR_JWT_SECRET:${random.uuid}}
# api doc
springdoc.api-docs.enabled=false