From 39918ba06c4f63cd408041acb757b1e9423ae114 Mon Sep 17 00:00:00 2001 From: Graham Esau Date: Sat, 29 Feb 2020 19:57:18 +0000 Subject: [PATCH] Update examples --- README.md | 3 +-- docs/_includes/examples/custom_settings.schema.json | 3 +-- docs/_includes/examples/doc_comments.schema.json | 3 +-- docs/_includes/examples/main.schema.json | 3 +-- schemars/examples/custom_settings.schema.json | 3 +-- schemars/examples/doc_comments.schema.json | 3 +-- schemars/examples/main.schema.json | 3 +-- 7 files changed, 7 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index d612797..1773e0f 100644 --- a/README.md +++ b/README.md @@ -43,8 +43,7 @@ fn main() { "type": "object", "required": [ "my_bool", - "my_int", - "my_nullable_enum" + "my_int" ], "properties": { "my_bool": { diff --git a/docs/_includes/examples/custom_settings.schema.json b/docs/_includes/examples/custom_settings.schema.json index 0bc689c..36d9f17 100644 --- a/docs/_includes/examples/custom_settings.schema.json +++ b/docs/_includes/examples/custom_settings.schema.json @@ -4,8 +4,7 @@ "type": "object", "required": [ "my_bool", - "my_int", - "my_nullable_enum" + "my_int" ], "properties": { "my_bool": { diff --git a/docs/_includes/examples/doc_comments.schema.json b/docs/_includes/examples/doc_comments.schema.json index dfaec3c..7cc468f 100644 --- a/docs/_includes/examples/doc_comments.schema.json +++ b/docs/_includes/examples/doc_comments.schema.json @@ -5,8 +5,7 @@ "type": "object", "required": [ "my_bool", - "my_int", - "my_nullable_enum" + "my_int" ], "properties": { "my_bool": { diff --git a/docs/_includes/examples/main.schema.json b/docs/_includes/examples/main.schema.json index ec883fd..a658248 100644 --- a/docs/_includes/examples/main.schema.json +++ b/docs/_includes/examples/main.schema.json @@ -4,8 +4,7 @@ "type": "object", "required": [ "my_bool", - "my_int", - "my_nullable_enum" + "my_int" ], "properties": { "my_bool": { diff --git a/schemars/examples/custom_settings.schema.json b/schemars/examples/custom_settings.schema.json index 0bc689c..36d9f17 100644 --- a/schemars/examples/custom_settings.schema.json +++ b/schemars/examples/custom_settings.schema.json @@ -4,8 +4,7 @@ "type": "object", "required": [ "my_bool", - "my_int", - "my_nullable_enum" + "my_int" ], "properties": { "my_bool": { diff --git a/schemars/examples/doc_comments.schema.json b/schemars/examples/doc_comments.schema.json index dfaec3c..7cc468f 100644 --- a/schemars/examples/doc_comments.schema.json +++ b/schemars/examples/doc_comments.schema.json @@ -5,8 +5,7 @@ "type": "object", "required": [ "my_bool", - "my_int", - "my_nullable_enum" + "my_int" ], "properties": { "my_bool": { diff --git a/schemars/examples/main.schema.json b/schemars/examples/main.schema.json index ec883fd..a658248 100644 --- a/schemars/examples/main.schema.json +++ b/schemars/examples/main.schema.json @@ -4,8 +4,7 @@ "type": "object", "required": [ "my_bool", - "my_int", - "my_nullable_enum" + "my_int" ], "properties": { "my_bool": {