You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: usageguide.md
+2-1
Original file line number
Diff line number
Diff line change
@@ -546,8 +546,9 @@ Not all the flexibility of HAPI and JOI can to ported over to the Swagger schema
546
546
547
547
548
548
# Known issues with `jsonEditor`
549
-
The `jsonEditor` is a new option in the latest version of SwaggerUI. It can provide a much enchanced UI, but I have found a few issues where it does not render correctly and can stop the rest of the UI from displaying.
549
+
The `jsonEditor` is a new option in the SwaggerUI. It can provide a much enchanced UI, but I have found a few issues where it does not render correctly and can stop the rest of the UI from displaying.
550
550
* Starting a JOI schema as an `Joi.array()` for a `payload` or `response` object can cause the UI to break with the browser JavaScript error message `Uncaught TypeError: Cannot read property 'required'ofundefined`.
551
+
* If you wish to switch off dropdown menus for a given propty this can be achieved by adding chaining `.meta()` option to a JOI property i.e. `Joi.number().integer().positive().allow(0).meta({disableDropdown:true})`
0 commit comments