我有两个模型: Package和File。两者都是用@ApiModel注解的JPA实体。它们之间也存在ManyToMany关系。 不过,还有其他类引用了Package和File。@ApiModelProperty(name = "The list of files")
} 在swaggerui (localhost:8080/swagger-u
SwaggerUI显示了StackTraceElement和Throwable对象的模型。我想对其进行配置,以便不显示这些模型。
/** Custom exception class to handle business validation exceptions.JsonIgnore
public PatientBundleException(String excep