Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(release): v6.0.0-next-major-spec.4 #416

Merged
merged 1 commit into from
Jul 25, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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