Just loaded the latest spec file you shared with the latest version of 
swagger-ui and everything seems to be in order – tested in Chrome and FF.

 

 

 

 

From: <[email protected]> on behalf of hancholo 
<[email protected]>
Reply-To: "[email protected]" 
<[email protected]>
Date: Wednesday, 27 July 2016 at 12:49
To: Swagger <[email protected]>
Subject: Re: swagger-ui only showing top-level info

 

After some debugging, I traced the problem to some circular references in my 
entities.  There are related issues in github for codegen (e.g. 
https://github.com/swagger-api/swagger-codegen/issues/728) .  The json is 
getting generated correctly, but the javascript in swagger-ui is leading to the 
stack issues. 



On Tuesday, July 19, 2016 at 5:52:47 PM UTC-4, hancholo wrote: 

Just getting started with Swagger-ui.  Latest versions of everything 
downloaded. 

 

My swagger.json is valid and populated correctly.

After downloading and serving up the swagger-ui dist and updating the url in 
index.html per instructions, but the only thing that appears is the metadata 
assigned through my beanConfig (Application constructor technique):

 

 

 beanConfig.setTitle("My API");
 beanConfig.setVersion("0.0.4");
 beanConfig.setDescription("This is a description.");

 

The only indication of error is found in the browser console (both in Chrome 
and IE/Edge):

 

 

Now I'm stuck.

 

 

 

-- 
You received this message because you are subscribed to the Google Groups 
"Swagger" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Swagger" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to