This warehouse is an example of a bug in Springdoc When there is a Class<?> in the entity class When dealing with fields of type, a dead loop will occur Version information: Springdoc openapi-starter webmvc ui 2.5.0 Spring boot starter web 3.2.5