feat: knife4j springdoc

This commit is contained in:
xingyu
2022-12-22 00:25:22 +08:00
parent 69420c0a9c
commit cacefb4eea
385 changed files with 1939 additions and 1941 deletions

View File

@ -5,16 +5,16 @@ import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
@Schema(title = "用户 APP - 商城订单创建 Response VO")
@Schema(description = "用户 APP - 商城订单创建 Response VO")
@Data
@Builder
@AllArgsConstructor
public class AppShopOrderCreateRespVO {
@Schema(title = "商城订单编号", required = true, example = "1024")
@Schema(description = "商城订单编号", required = true, example = "1024")
private Long id;
@Schema(title = "支付订单编号", required = true, example = "2048")
@Schema(description = "支付订单编号", required = true, example = "2048")
private Long payOrderId;
}

View File

@ -34,6 +34,10 @@ spring:
redis:
time-to-live: 1h # 设置过期时间为 1 小时
springdoc:
swagger-ui:
path: /swagger-ui
# 工作流 Flowable 配置
flowable:
# 1. false: 默认值Flowable 启动时,对比数据库表中保存的版本,如果不匹配。将抛出异常