diff --git a/seed/java-spring/extends/requests/Inlined.java b/seed/java-spring/extends/requests/Inlined.java index c4b4789b318..386df7d2bda 100644 --- a/seed/java-spring/extends/requests/Inlined.java +++ b/seed/java-spring/extends/requests/Inlined.java @@ -14,13 +14,14 @@ import java.lang.String; import java.util.Objects; import org.jetbrains.annotations.NotNull; +import types.IDocs; import types.IExampleType; @JsonInclude(JsonInclude.Include.NON_ABSENT) @JsonDeserialize( builder = Inlined.Builder.class ) -public final class Inlined implements IExampleType { +public final class Inlined implements IExampleType, IDocs { private final String name; private final String docs; diff --git a/seed/java-spring/extends/types/NestedType.java b/seed/java-spring/extends/types/NestedType.java index 6d217b2a5d8..756d97a15ec 100644 --- a/seed/java-spring/extends/types/NestedType.java +++ b/seed/java-spring/extends/types/NestedType.java @@ -19,7 +19,7 @@ @JsonDeserialize( builder = NestedType.Builder.class ) -public final class NestedType implements IJson { +public final class NestedType implements IJson, IDocs { private final String raw; private final String docs;