29 lines
630 B
Java
29 lines
630 B
Java
package com.baiyue.common.openapi;
|
|||
|
|
|
||
|
|
import lombok.Getter;
|
||
|
|
import lombok.Setter;
|
||
|
|
|
||
|
|
import org.springframework.boot.context.properties.ConfigurationProperties;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* OpenAPI 文档配置模型,定义文档开关、服务信息、联系人、许可证和服务器地址。
|
||
|
|
*/
|
||
|
|
@Getter
|
||
|
|
@Setter
|
||
|
|
@ConfigurationProperties("baiyue.openapi")
|
||
|
|
public class OpenApiProperties {
|
||
|
|
private String title = "Baiyue Platform API / 柏悦平台接口";
|
||
|
|
private String description = "Logistics SaaS API / 物流 SaaS 接口";
|
||
|
|
private String version = "v1";
|
||
|
|
private boolean enabled = true;
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
}
|