Skip to content

Commit 1fd8554

Browse files
committed
Fix 'host' definition and format: uri conflict
1 parent 8b2467d commit 1fd8554

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

schemas/v2.0/schema.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,8 @@
2727
},
2828
"host": {
2929
"type": "string",
30-
"format": "uri",
3130
"pattern": "^[^{}/ :\\\\]+(?::\\d+)?$",
32-
"description": "The fully qualified URI to the host of the API."
31+
"description": "The host (name or ip) of the API. Example: 'swagger.io'"
3332
},
3433
"basePath": {
3534
"type": "string",
@@ -1492,4 +1491,4 @@
14921491
}
14931492
}
14941493
}
1495-
}
1494+
}

0 commit comments

Comments
 (0)