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/**
68
68
69
69
### 默认配置
70
70
71
+ ```
71
72
- swagger.title=标题
72
73
- swagger.description=描述
73
74
- swagger.version=版本
@@ -80,6 +81,7 @@ swagger.exclude-path=/error, /ops/**
80
81
- swagger.base-package=swagger扫描的基础包,默认:全扫描
81
82
- swagger.base-path=需要处理的基础URL规则,默认:/**
82
83
- swagger.exclude-path=需要排除的URL规则,默认:空
84
+ ```
83
85
84
86
### Path规则说明
85
87
@@ -108,6 +110,7 @@ swagger.exclude-path=/ops/**, /error
108
110
109
111
具体配置内容如下:
110
112
113
+ ```
111
114
- swagger.docket.<name>.title=标题
112
115
- swagger.docket.<name>.description=描述
113
116
- swagger.docket.<name>.version=版本
@@ -120,6 +123,7 @@ swagger.exclude-path=/ops/**, /error
120
123
- swagger.docket.<name>.base-package=swagger扫描的基础包,默认:全扫描
121
124
- swagger.docket.<name>.base-path=需要处理的基础URL规则,默认:/**
122
125
- swagger.docket.<name>.exclude-path=需要排除的URL规则,默认:空
126
+ ```
123
127
124
128
说明:` <name> ` 为swagger文档的分组名称,同一个项目中可以配置多个分组,用来划分不同的API文档。
125
129
@@ -139,4 +143,4 @@ swagger.docket.bbb.title=group-bbb
139
143
swagger.docket.bbb.basePackage =com.yonghui
140
144
```
141
145
142
- 说明:默认配置与分组配置可以一起使用。在分组配置中没有配置的内容将使用默认配置替代,所以默认配置可以作为分组配置公共部分属性的配置。
146
+ 说明:默认配置与分组配置可以一起使用。在分组配置中没有配置的内容将使用默认配置替代,所以默认配置可以作为分组配置公共部分属性的配置。
You can’t perform that action at this time.
0 commit comments