File tree Expand file tree Collapse file tree 1 file changed +0
-4
lines changed
src/main/java/io/swagger/codegen/v3/generators Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -1364,9 +1364,6 @@ else if (schema instanceof ComposedSchema) {
1364
1364
1365
1365
// interfaces (intermediate models)
1366
1366
if (allOf != null && !allOf .isEmpty ()) {
1367
- if (codegenModel .interfaces == null ) {
1368
- codegenModel .interfaces = new ArrayList <String >();
1369
- }
1370
1367
for (int i = 0 ; i < allOf .size (); i ++) {
1371
1368
if (i == 0 && !copyFistAllOfProperties ) {
1372
1369
continue ;
@@ -1381,7 +1378,6 @@ else if (schema instanceof ComposedSchema) {
1381
1378
refSchema = allDefinitions .get (ref );
1382
1379
}
1383
1380
final String modelName = toModelName (ref );
1384
- codegenModel .interfaces .add (modelName );
1385
1381
addImport (codegenModel , modelName );
1386
1382
if (allDefinitions != null && refSchema != null ) {
1387
1383
if (!supportsMixins ) {
You can’t perform that action at this time.
0 commit comments