Skip to content

Commit

Permalink
feat: add host and pathname fields in server object (#329)
Browse files Browse the repository at this point in the history
  • Loading branch information
magicmatatjahu authored Feb 13, 2023
1 parent dc09eef commit ce41256
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions definitions/3.0.0/server.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"type": "object",
"description": "An object representing a Server.",
"required": [
"url",
"host",
"protocol"
],
"additionalProperties": false,
Expand All @@ -12,8 +12,13 @@
}
},
"properties": {
"url": {
"type": "string"
"host": {
"type": "string",
"description": "The server host name."
},
"pathname": {
"type": "string",
"description": "The path to a resource in the host."
},
"title": {
"type": "string",
Expand Down

0 comments on commit ce41256

Please sign in to comment.