Correct discriminator json example
MODIFY
versions/3.0.md
versions/3.0.md
@@ -2915,7 +2915,9 @@ components:
"schemas": {
"Pet": {
"type": "object",
- "discriminator": "petType",
+ "discriminator": {
+ "propertyName": "petType"
+ },
"properties": {
"name": {
"type": "string"

Correct discriminator json example