-
Notifications
You must be signed in to change notification settings - Fork 764
Closed
Description
swagger-ui is able to fetch my individual API endpoint JSON documents, but when it starts parsing the models, it never displays anything and Chrome shows:
Uncaught RangeError: Maximum call stack size exceeded
SwaggerModelProperty.getSampleValue
SwaggerModel.createJSONSample
SwaggerModelProperty.getSampleValue
SwaggerModel.createJSONSample
SwaggerModelProperty.getSampleValue
SwaggerModel.createJSONSample
SwaggerModelProperty.getSampleValue
SwaggerModel.createJSONSample
SwaggerModelProperty.getSampleValue
SwaggerModel.createJSONSample
SwaggerModelProperty.getSampleValue
...
in the console. I'm using https://github.com/ryankennedy/swagger-jaxrs-doclet to generate my documentation off of a Dropwizard Java service. The JSON files it outputs are correct, so I'm not sure why the UI is looping. This is using the latest checkout of swagger-ui from master.
Metadata
Metadata
Assignees
Labels
No labels