Skip to content

circular dependency in swagger 1.2  #1819

@NarendraNallabelli

Description

@NarendraNallabelli

We are using swagger-play 1.3.7 . (play framework 2.2.1 , swagger 1.2)

my model classes are look like this

public class TypeA {
TypeB b;
TypeB c;
}

public class TypeB {
TypeA a;
CustomBigdecimal bigdecimal;
Map<String, Object> additionalmaps;
}

public class TypeC {
TypeB b;
}

  1. how to overcome this circular dependency in swagger 1.2 ? - swagger UI is hanging
  2. how to convert wrapper CustomBigdecimal to Bigdecimal/string ? - result undefined
  3. how do i represent Maps..-- swagger UI is hanging

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions