Skip to content

Commit fea36b9

Browse files
committed
Use "$ref" to point to models instead of "type"
1 parent 8e4caca commit fea36b9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

samples/v2.0/json/09-responses.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@
99
},
1010
"400": {
1111
"description": "Invalid ID supplied",
12-
"type": "ErrorModel"
12+
"$ref": "ErrorModel"
1313
},
1414
"404": {
1515
"description": "Pet not found"
1616
},
1717
"default": {
1818
"description": "Some other terrible error",
19-
"type": "ErrorModel"
19+
"$ref": "ErrorModel"
2020
}
2121
}
2222
}

0 commit comments

Comments
 (0)