I am running 3.6.1 but setting

defaultModelExpandDepth: 1

in swagger-ui/dist/swagger-config.yaml (where the web server is pointing to 
that dist folder) does not appear to have any effect.
This is supposed to be the default, but all the models are expanded to 
several levels,  resulting in pretty verbose displays
(since I'm using HAL and I have _links which is an object with nested link 
objects, etc.)

Has anyone gotten model rendering of models to not expand levels by default?

(I see there is a PR for adding defaultModelsExpandDepth (note plural 
Models) to affect models in operations as well as models in the models 
section.)

thanks,
djb

-- 
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