Skip to content

Commit cfba936

Browse files
authored
chore(release): v5.0.0-next-major-spec.11 (#337)
1 parent ce41256 commit cfba936

File tree

3 files changed

+10
-5
lines changed

3 files changed

+10
-5
lines changed

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@asyncapi/specs",
3-
"version": "5.0.0-next-major-spec.10",
3+
"version": "5.0.0-next-major-spec.11",
44
"description": "AsyncAPI schema versions",
55
"main": "index.js",
66
"types": "index.d.ts",

schemas/3.0.0.json

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@
258258
"type": "object",
259259
"description": "An object representing a Server.",
260260
"required": [
261-
"url",
261+
"host",
262262
"protocol"
263263
],
264264
"additionalProperties": false,
@@ -268,8 +268,13 @@
268268
}
269269
},
270270
"properties": {
271-
"url": {
272-
"type": "string"
271+
"host": {
272+
"type": "string",
273+
"description": "The server host name."
274+
},
275+
"pathname": {
276+
"type": "string",
277+
"description": "The path to a resource in the host."
273278
},
274279
"title": {
275280
"type": "string",

0 commit comments

Comments
 (0)