From e39b1d52ed465a1fb4d4f9f4d7f9f1db73b52593 Mon Sep 17 00:00:00 2001 From: "Henry H. Andrews" Date: Fri, 2 Feb 2024 10:58:38 -0800 Subject: [PATCH] Fix JSON media type example Co-Author: Florian Loitsch --- versions/3.0.4.md | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/versions/3.0.4.md b/versions/3.0.4.md index 065597492e..e0ed407939 100644 --- a/versions/3.0.4.md +++ b/versions/3.0.4.md @@ -1386,29 +1386,28 @@ This object MAY be extended with [Specification Extensions](#specificationExtens "$ref": "#/components/schemas/Pet" }, "examples": { - "cat" : { + "cat": { "summary": "An example of a cat", - "value": - { - "name": "Fluffy", - "petType": "Cat", - "color": "White", - "gender": "male", - "breed": "Persian" - } + "value": { + "name": "Fluffy", + "petType": "Cat", + "color": "White", + "gender": "male", + "breed": "Persian" + } }, "dog": { "summary": "An example of a dog with a cat's name", - "value" : { + "value": { "name": "Puma", "petType": "Dog", "color": "Black", "gender": "Female", "breed": "Mixed" - }, - "frog": { - "$ref": "#/components/examples/frog-example" } + }, + "frog": { + "$ref": "#/components/examples/frog-example" } } }