@ConfigurationProperties(value="swagger") public class SwaggerProperties extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
SwaggerProperties.Authorization |
static class |
SwaggerProperties.AuthorizationScope |
static class |
SwaggerProperties.Contact |
| 限定符和类型 | 字段和说明 |
|---|---|
private SwaggerProperties.Authorization |
authorization
全局统一鉴权配置
|
private List<String> |
basePackages
swagger会解析的包路径
|
private List<String> |
basePath
swagger会解析的url规则
|
private SwaggerProperties.Contact |
contact
联系人信息
|
private String |
description
描述
|
private List<String> |
excludePath
在basePath基础上需要排除的url规则
|
private String |
host
host信息
|
private String |
license
许可证
|
private String |
licenseUrl
许可证URL
|
private String |
termsOfServiceUrl
服务条款URL
|
private String |
title
标题
|
private String |
version
版本
|
| 构造器和说明 |
|---|
SwaggerProperties() |
private String title
private String description
private String version
private String license
private String licenseUrl
private String termsOfServiceUrl
private String host
private SwaggerProperties.Contact contact
private SwaggerProperties.Authorization authorization
Copyright © 2019. All rights reserved.