Skip to content

Commit 4b3016a

Browse files
committed
Merge pull request OAI#25 from webron/patch-1
Use "$ref" to point to models instead of "type"
2 parents 8e4caca + fea36b9 commit 4b3016a

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)