mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-12-19 06:37:10 +00:00
use JsonIgnoreProperties to fix recursion (#903)
This commit is contained in:
@@ -28,6 +28,9 @@ import java.util.Objects;
|
|||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
import java.util.TreeSet;
|
import java.util.TreeSet;
|
||||||
|
|
||||||
|
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
||||||
|
|
||||||
|
@JsonIgnoreProperties({"parentModel", "interfaceModels"})
|
||||||
public class CodegenModel {
|
public class CodegenModel {
|
||||||
public String parent, parentSchema;
|
public String parent, parentSchema;
|
||||||
public List<String> interfaces;
|
public List<String> interfaces;
|
||||||
|
|||||||
Reference in New Issue
Block a user