Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add missing swagger-ui display options #129

Open
HEYGUL opened this issue May 17, 2018 · 0 comments
Open

Add missing swagger-ui display options #129

HEYGUL opened this issue May 17, 2018 · 0 comments

Comments

@HEYGUL
Copy link

HEYGUL commented May 17, 2018

Having a look to swagger-ui configuration options, there are quite useful options not handled in the happi-swaggered-ui.

Especially these 3 properties.

Parameter Name Description
defaultModelsExpandDepth Number=1. The default expansion depth for models (set to -1 completely hide the models).
defaultModelExpandDepth Number=1. The default expansion depth for the model on the model-example section.
defaultModelRendering String=["example"*, "model"]. Controls how the model is shown when the API is first rendered. (The user can always switch the rendering for a given model by clicking the 'Model' and 'Example Value' links.)
HEYGUL pushed a commit to HEYGUL/hapi-swaggered-ui that referenced this issue May 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant