All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cn.aradin.spring.swagger.starter.properties.SwaggerProperties Maven / Gradle / Ivy

There is a newer version: 1.1.2
Show newest version
package cn.aradin.spring.swagger.starter.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;

import lombok.Data;

@ConfigurationProperties(prefix = "aradin.swagger")
@Data
public class SwaggerProperties {
	private String basePackage;//多个用;分隔
	private String antPath;//Path过滤,可以做版本号控制
    private String title = "HTTP API";
    private String description = "Swagger 自动生成接口文档";
    private String version;
    private Boolean enable;
    private String contactName;
    private String contactEmail;
    private String contactUrl;
    private String license;
    private String licenseUrl;
    private Boolean useDefaultStatus = true;//是否使用HTTP默认状态值
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy