outmoded / lout

API documentation generator
Other
276 stars 49 forks source link

Joi's minimum value of `0` is not displayed #171

Closed eawer closed 7 years ago

eawer commented 7 years ago

What are you trying to achieve or the steps to reproduce?

      validate: {
        query: {
          limit: Joi.number().min(0).max(config.maxLimit).default(config.limit),
          offset: Joi.number().min(0),
          publisherId: Joi.number().min(0),
          depositDateGt: Joi.date(),
          depositDateLt: Joi.date(),
        },
      },

What was the result you received?

image