Files
Chat2DB/chat2db-server/.easy.api.config
2023-08-05 21:22:28 +08:00

16 lines
512 B
Plaintext

# easy-yapi插件生成的配置
# 日期转long
json.rule.convert[java.util.Date]=java.lang.Long
json.rule.convert[java.sql.Timestamp]=java.lang.Long
json.rule.convert[java.time.LocalDateTime]=java.lang.Long
json.rule.convert[java.time.LocalDate]=java.lang.Long
# 使用version来 修改标签
api.tag=#version
# ignore serialVersionUID
constant.field.ignore=groovy:it.name()=="serialVersionUID"
# sprnSupport for Jackson annotations
json.rule.field.ignore=@com.fasterxml.jackson.annotation.JsonIgnore#value