Skip to content

Commit

Permalink
chore(release): v6.0.0-next-major-spec.4 (#416)
Browse files Browse the repository at this point in the history
  • Loading branch information
asyncapi-bot authored Jul 25, 2023
1 parent 1aebba2 commit 9d49396
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 12 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@asyncapi/specs",
"version": "6.0.0-next-major-spec.3",
"version": "6.0.0-next-major-spec.4",
"description": "AsyncAPI schema versions",
"main": "index.js",
"types": "index.d.ts",
Expand Down
22 changes: 17 additions & 5 deletions schemas/3.0.0-without-$id.json
Original file line number Diff line number Diff line change
Expand Up @@ -3834,16 +3834,28 @@
"type": "string",
"description": "A brief description of the parameter. This could contain examples of use. GitHub Flavored Markdown is allowed."
},
"schema": {
"$ref": "#/definitions/schema"
"enum": {
"description": "A list of allowed values for the parameter.",
"type": "array",
"items": {
"type": "string"
}
},
"default": {
"description": "The default value to use for the parameter.",
"type": "string"
},
"examples": {
"description": "List of example values to use for the parameter.",
"type": "array",
"items": {
"type": "string"
}
},
"location": {
"type": "string",
"description": "A runtime expression that specifies the location of the parameter value",
"pattern": "^\\$message\\.(header|payload)#(\\/(([^\\/~])|(~[01]))*)*"
},
"$ref": {
"$ref": "#/definitions/ReferenceObject"
}
}
},
Expand Down
22 changes: 17 additions & 5 deletions schemas/3.0.0.json
Original file line number Diff line number Diff line change
Expand Up @@ -3899,16 +3899,28 @@
"type": "string",
"description": "A brief description of the parameter. This could contain examples of use. GitHub Flavored Markdown is allowed."
},
"schema": {
"$ref": "http://asyncapi.com/definitions/3.0.0/schema.json"
"enum": {
"description": "A list of allowed values for the parameter.",
"type": "array",
"items": {
"type": "string"
}
},
"default": {
"description": "The default value to use for the parameter.",
"type": "string"
},
"examples": {
"description": "List of example values to use for the parameter.",
"type": "array",
"items": {
"type": "string"
}
},
"location": {
"type": "string",
"description": "A runtime expression that specifies the location of the parameter value",
"pattern": "^\\$message\\.(header|payload)#(\\/(([^\\/~])|(~[01]))*)*"
},
"$ref": {
"$ref": "http://asyncapi.com/definitions/3.0.0/ReferenceObject.json"
}
}
},
Expand Down

0 comments on commit 9d49396

Please sign in to comment.