build: backend 引入 springdoc-openapi

This commit is contained in:
Palm Civet
2025-09-02 23:54:23 +08:00
parent c337195b16
commit ec76e70ad0
5 changed files with 92 additions and 1 deletions

View File

@@ -1,3 +1,6 @@
# for spring boot
server.port=${SERVER_PORT:8080}
# for mysql
logging.level.root=${LOG_LEVEL:INFO}
logging.level.com.openisle.service.CosImageUploader=DEBUG
@@ -83,3 +86,13 @@ app.website-url=${WEBSITE_URL:https://www.open-isle.com}
# Web push configuration
app.webpush.public-key=${WEBPUSH_PUBLIC_KEY:}
app.webpush.private-key=${WEBPUSH_PRIVATE_KEY:}
# springdoc-openapi-starter-webmvc-api
# see https://springdoc.org/#springdoc-openapi-core-properties
springdoc.api-docs.path=/v3/api-docs
springdoc.api-docs.enabled=true
springdoc.info.title="OpenIsle"
springdoc.info.description="OpenIsle Open API Documentation"
springdoc.info.version=0.0.1
springdoc.info.scheme=Bearer
springdoc.info.header=Authorization