Skip to content

Commit c022b5d

Browse files
committed
Update 01-sample.json
updated response type to model refs
1 parent 4b3016a commit c022b5d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

samples/v2.0/json/01-sample.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,11 @@
5555
"responses": {
5656
"200": {
5757
"description": null,
58-
"type": "Pet"
58+
"$ref": "Pet"
5959
},
6060
"400": {
6161
"description": "Invalid ID supplied <= this is purely for documentation",
62-
"type": "ErrorModel"
62+
"$ref": "ErrorModel"
6363
},
6464
"404": {
6565
"description": "Pet not found"
@@ -113,4 +113,4 @@
113113
}
114114
}
115115
}
116-
}
116+
}

0 commit comments

Comments
 (0)