diff --git a/docs/_includes/examples/custom_settings.schema.json b/docs/_includes/examples/custom_settings.schema.json index 59939be..12ac7d5 100644 --- a/docs/_includes/examples/custom_settings.schema.json +++ b/docs/_includes/examples/custom_settings.schema.json @@ -25,7 +25,7 @@ }, "definitions": { "MyEnum": { - "anyOf": [ + "oneOf": [ { "type": "object", "required": [ diff --git a/docs/_includes/examples/doc_comments.schema.json b/docs/_includes/examples/doc_comments.schema.json index 0f3405c..121cdb4 100644 --- a/docs/_includes/examples/doc_comments.schema.json +++ b/docs/_includes/examples/doc_comments.schema.json @@ -33,7 +33,7 @@ "definitions": { "MyEnum": { "title": "My Amazing Enum", - "anyOf": [ + "oneOf": [ { "description": "A wrapper around a `String`", "type": "object", diff --git a/docs/_includes/examples/main.schema.json b/docs/_includes/examples/main.schema.json index 737bcbc..ddbd9d3 100644 --- a/docs/_includes/examples/main.schema.json +++ b/docs/_includes/examples/main.schema.json @@ -27,7 +27,7 @@ }, "definitions": { "MyEnum": { - "anyOf": [ + "oneOf": [ { "type": "object", "required": [ diff --git a/docs/_includes/examples/validate.schema.json b/docs/_includes/examples/validate.schema.json index e8ed35e..1e45a96 100644 --- a/docs/_includes/examples/validate.schema.json +++ b/docs/_includes/examples/validate.schema.json @@ -18,7 +18,7 @@ "minimum": 1.0 }, "my_nullable_enum": { - "anyOf": [ + "oneOf": [ { "type": "object", "required": [ diff --git a/schemars/examples/custom_settings.schema.json b/schemars/examples/custom_settings.schema.json index 59939be..12ac7d5 100644 --- a/schemars/examples/custom_settings.schema.json +++ b/schemars/examples/custom_settings.schema.json @@ -25,7 +25,7 @@ }, "definitions": { "MyEnum": { - "anyOf": [ + "oneOf": [ { "type": "object", "required": [ diff --git a/schemars/examples/doc_comments.schema.json b/schemars/examples/doc_comments.schema.json index 0f3405c..121cdb4 100644 --- a/schemars/examples/doc_comments.schema.json +++ b/schemars/examples/doc_comments.schema.json @@ -33,7 +33,7 @@ "definitions": { "MyEnum": { "title": "My Amazing Enum", - "anyOf": [ + "oneOf": [ { "description": "A wrapper around a `String`", "type": "object", diff --git a/schemars/examples/main.schema.json b/schemars/examples/main.schema.json index 737bcbc..ddbd9d3 100644 --- a/schemars/examples/main.schema.json +++ b/schemars/examples/main.schema.json @@ -27,7 +27,7 @@ }, "definitions": { "MyEnum": { - "anyOf": [ + "oneOf": [ { "type": "object", "required": [ diff --git a/schemars/examples/validate.schema.json b/schemars/examples/validate.schema.json index e8ed35e..1e45a96 100644 --- a/schemars/examples/validate.schema.json +++ b/schemars/examples/validate.schema.json @@ -18,7 +18,7 @@ "minimum": 1.0 }, "my_nullable_enum": { - "anyOf": [ + "oneOf": [ { "type": "object", "required": [