mart.article.smart-article-web.1.0.2.source-code.bootstrap.yml Maven / Gradle / Ivy
server:
port: 10032
nacos:
hostname: nacos
port: 8848
namespace:
spring:
main:
banner-mode: 'OFF'
application:
name: article
cloud:
nacos:
config:
server-addr: ${nacos.hostname}:${nacos.port}
file-extension: yml
namespace: ${nacos.namespace}
shared-configs:
- data-id: global.yml
refresh: true
- data-id: db.yml
refresh: true
discovery:
server-addr: ${nacos.hostname}:${nacos.port}
namespace: ${nacos.namespace}
logging:
level:
root: ERROR
net.guerlab.smart.article: INFO
swagger:
enable: true
dockets:
- base-package: net.guerlab.smart.article.web.controller.commons
group-name: article-commons
api-info:
title: 文章(Commons)
version: 1.0
- base-package: net.guerlab.smart.article.web.controller.user
group-name: article-user
api-info:
title: 文章(User)
version: 1.0
global-operation-parameters:
- param-type: header
name: Authorization
description: 身份令牌(Type user)