Skip to content

Commit

Permalink
Fix JSON media type example
Browse files Browse the repository at this point in the history
Co-Author: Florian Loitsch <florian@loitsch.com>
  • Loading branch information
handrews committed Feb 15, 2024
1 parent d948ced commit e39b1d5
Showing 1 changed file with 12 additions and 13 deletions.
25 changes: 12 additions & 13 deletions versions/3.0.4.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
}
Expand Down

0 comments on commit e39b1d5

Please sign in to comment.