joi-to-json
joi-to-json copied to clipboard
Capable of converting different versions' joi object to json schema
The addition of `exclusiveMaximum` / `exclusiveMinimum` to `negative` / `positive` number type schemata in v4.1.0 opens up a rabbit hole. When using `joi-to-json` to generate OpenAPI models, the result conflicts...
I cannot find a way to define a dictionary (["Dictionaries, HashMaps and Associative Arrays", OpenAPI 3.0.3](https://swagger.io/docs/specification/data-models/dictionaries/)) in OpenAPI. I would expect this to work with `Joi.object().pattern()`, but * that does...
While using @joi/date library and trying to initialise a date schema and format in MM/DD/YYYY. Upon converting to Json schema, the value is converted as integer rather than string, where...
Bumps [@sideway/formula](https://github.com/sideway/formula) from 3.0.0 to 3.0.1. Commits 5b44c1b 3.0.1 9fbc20a chore: better number regex 41ae98e Cleanup c59f35e Move to Sideway See full diff in compare view Maintainer changes This version...
Bumps [minimatch](https://github.com/isaacs/minimatch) from 3.0.4 to 3.1.2. Commits 699c459 3.1.2 2f2b5ff fix: trim pattern 25d7c0d 3.1.1 55dda29 fix: treat nocase:true as always having magic 5e1fb8d 3.1.0 f8145c5 Add 'allowWindowsEscape' option 570e8b1...
Bumps [json5](https://github.com/json5/json5) from 2.2.1 to 2.2.3. Release notes Sourced from json5's releases. v2.2.3 Fix: [email protected] is now the 'latest' release according to npm instead of v1.0.2. (#299) v2.2.2 Fix: Properties...
With both Joi version `17.9.2` and `17.13.3`, the .describe() function is throwing an error: `Manifest functionality disabled`
When I try to build my project, i get the following error: ``` node_modules/joi-to-json/index.d.ts:1:17 - error TS2307: Cannot find module 'joi-17' or its corresponding type declarations. 1 import Joi from...