Add reproduction for schema ref examples bug

This commit is contained in:
Adam Vigneaux 2019-03-13 12:43:31 -04:00
parent 1acd2d6116
commit c93b8f1305
No known key found for this signature in database
GPG Key ID: D6FE74FFE0A970E7
1 changed files with 4 additions and 2 deletions

View File

@ -49,7 +49,8 @@
"age": {
"description": "Age in years",
"type": "integer",
"minimum": 0
"minimum": 0,
"examples": [28, 32]
},
"job": {
"$ref": "job"
@ -74,7 +75,8 @@
},
"salary": {
"type": "number",
"minimum": 120
"minimum": 120,
"examples": [100, 110, 120]
}
}
};