Skip to content

Commit 0b574df

Browse files
committed
Merge pull request #420 from hornc/master
Fix 'host' regex and format: uri conflict
2 parents 5850218 + 1fd8554 commit 0b574df

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

schemas/v2.0/schema.json

Lines changed: 1 addition & 2 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",

0 commit comments

Comments
 (0)