flowup / api-client-generator

Angular REST API client generator from Swagger YAML or JSON file with camel case settigs
MIT License
115 stars 21 forks source link

[Generator] recursive interfaces #11

Closed vmasek closed 6 years ago

vmasek commented 6 years ago

if generated interface contains itself in a recursive way, there is an unnecessary import

import {
  Discussion
} from '..';

export interface Discussion {
  authorName: string;
  comments: Discussion[];
  date: string;
}