Skip to content

Commit

Permalink
z0mt3c#129: Add defaultModelsExpandDepth, defaultModelExpandDepth and…
Browse files Browse the repository at this point in the history
… defaultModelRendering display options
  • Loading branch information
Guillaume Lagorce committed May 17, 2018
1 parent a568b9e commit e23304d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ const optionsSchema = Joi.object({
basePath: Joi.string().optional(),
swaggerEndpoint: Joi.string().optional(),
swaggerOptions: Joi.object({
defaultModelsExpandDepth: Joi.number().integer().optional(),
defaultModelExpandDepth: Joi.number().integer().positive().optional(),
defaultModelRendering: Joi.string().allow(null).valid(['example', 'model']).optional(),
validatorUrl: Joi.string().allow(null, false).optional(),
docExpansion: Joi.string().allow(null).valid(['none', 'list', 'full']).optional(),
oauth2RedirectUrl: Joi.string().optional(),
Expand Down

0 comments on commit e23304d

Please sign in to comment.