diff --git a/src/core/plugins/json-schema-5-samples/fn/index.js b/src/core/plugins/json-schema-5-samples/fn/index.js index 44e677c0c4a..1503883f2bc 100644 --- a/src/core/plugins/json-schema-5-samples/fn/index.js +++ b/src/core/plugins/json-schema-5-samples/fn/index.js @@ -38,7 +38,8 @@ const primitives = { "number": () => 0, "number_float": () => 0.0, "integer": () => 0, - "boolean": (schema) => typeof schema.default === "boolean" ? schema.default : true + "boolean": (schema) => typeof schema.default === "boolean" ? schema.default : true, + "any": ()=> ({}) } const primitive = (schema) => {