File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -68,6 +68,7 @@ swagger.exclude-path=/error, /ops/**
6868
6969### 默认配置
7070
71+ ```
7172- swagger.title=标题
7273- swagger.description=描述
7374- swagger.version=版本
@@ -80,6 +81,7 @@ swagger.exclude-path=/error, /ops/**
8081- swagger.base-package=swagger扫描的基础包,默认:全扫描
8182- swagger.base-path=需要处理的基础URL规则,默认:/**
8283- swagger.exclude-path=需要排除的URL规则,默认:空
84+ ```
8385
8486### Path规则说明
8587
@@ -108,6 +110,7 @@ swagger.exclude-path=/ops/**, /error
108110
109111具体配置内容如下:
110112
113+ ```
111114- swagger.docket.<name>.title=标题
112115- swagger.docket.<name>.description=描述
113116- swagger.docket.<name>.version=版本
@@ -120,6 +123,7 @@ swagger.exclude-path=/ops/**, /error
120123- swagger.docket.<name>.base-package=swagger扫描的基础包,默认:全扫描
121124- swagger.docket.<name>.base-path=需要处理的基础URL规则,默认:/**
122125- swagger.docket.<name>.exclude-path=需要排除的URL规则,默认:空
126+ ```
123127
124128说明:` <name> ` 为swagger文档的分组名称,同一个项目中可以配置多个分组,用来划分不同的API文档。
125129
@@ -139,4 +143,4 @@ swagger.docket.bbb.title=group-bbb
139143swagger.docket.bbb.basePackage =com.yonghui
140144```
141145
142- 说明:默认配置与分组配置可以一起使用。在分组配置中没有配置的内容将使用默认配置替代,所以默认配置可以作为分组配置公共部分属性的配置。
146+ 说明:默认配置与分组配置可以一起使用。在分组配置中没有配置的内容将使用默认配置替代,所以默认配置可以作为分组配置公共部分属性的配置。
You can’t perform that action at this time.
0 commit comments