Skip to content

Commit 62d28fb

Browse files
authored
Merge pull request OAI#1119 from MikeRalphson/patch-21
Correct discriminator json example
2 parents 5338ab3 + 4f3714f commit 62d28fb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

versions/3.0.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2915,7 +2915,9 @@ components:
29152915
"schemas": {
29162916
"Pet": {
29172917
"type": "object",
2918-
"discriminator": "petType",
2918+
"discriminator": {
2919+
"propertyName": "petType"
2920+
},
29192921
"properties": {
29202922
"name": {
29212923
"type": "string"

0 commit comments

Comments
 (0)