From 6f39a1372460f32dde73f088a6d9cd3562d5a70d Mon Sep 17 00:00:00 2001 From: Graham Esau Date: Sun, 14 Nov 2021 19:05:09 +0000 Subject: [PATCH] Update examples after 0a1200b --- docs/_includes/examples/custom_settings.schema.json | 2 +- docs/_includes/examples/doc_comments.schema.json | 2 +- docs/_includes/examples/main.schema.json | 2 +- docs/_includes/examples/validate.schema.json | 2 +- schemars/examples/custom_settings.schema.json | 2 +- schemars/examples/doc_comments.schema.json | 2 +- schemars/examples/main.schema.json | 2 +- schemars/examples/validate.schema.json | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) 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": [