-
Notifications
You must be signed in to change notification settings - Fork 381
Description
Thanks for raising a Swagger2Markup issue. Please provide a brief description of your problem along with the Swagger2Markup version you are using. If possible, please also consider putting together a complete Swagger specification that reproduces the issue. It's better if the Swagger specification is small and isolate the issue.
Swagger2Markup version: 1.3.7
Problem description: While using the version 1.3.7 of swagger2markup I'm getting below exception
Exception in thread "main" java.lang.StackOverflowError
at io.github.swagger2markup.internal.utils.ModelUtils.getType(ModelUtils.java:80)
at io.github.swagger2markup.internal.utils.ExamplesUtil.generateExampleForRefModel(ExamplesUtil.java:190)
at io.github.swagger2markup.internal.utils.ExamplesUtil.exampleMapForProperties(ExamplesUtil.java:246)
This issue seems to be due to the cyclic dependency exists in our yaml file in definition tag.
I have seen on github "issue: StackOverflow when examples have cyclic references #173" that this is fixed in 1.0.2-snapshot version. But I cannot see this version of plugin present in public Maven repository.
Could you please help us with this issue and let us know that in which version of Swagger2Markup plugin this issue is fixed.