Skip to content

Commit 8c5391a

Browse files
authored
Update JSON example files
1 parent 7a7d603 commit 8c5391a

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

examples/v3.0/callback-example.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
"content": {
2828
"application/json": {
2929
"schema": {
30+
"type": "object",
3031
"description": "subscription information",
3132
"required": ["subscriptionId"],
3233
"properties": {

examples/v3.0/uspto.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -223,12 +223,12 @@
223223
},
224224
"apiUrl": {
225225
"type": "string",
226-
"format": "uriref",
226+
"format": "uri-reference",
227227
"description": "The URL describing the dataset's fields"
228228
},
229229
"apiDocumentationUrl": {
230230
"type": "string",
231-
"format": "uriref",
231+
"format": "uri-reference",
232232
"description": "A URL to the API console for each API"
233233
}
234234
}

examples/v3.1/webhook-example.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
"components": {
2929
"schemas": {
3030
"Pet": {
31+
"type": "object",
3132
"required": ["id", "name"],
3233
"properties": {
3334
"id": {

0 commit comments

Comments
 (0)