Skip to content

Commit

Permalink
fix: add operations to the components section (#445)
Browse files Browse the repository at this point in the history
  • Loading branch information
KhudaDad414 authored Nov 13, 2023
1 parent 9639ca9 commit 29e96d7
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion definitions/3.0.0/components.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,21 @@
}
}
},
"operations": {
"type": "object",
"patternProperties": {
"^[\\w\\d\\.\\-_]+$": {
"oneOf": [
{
"$ref": "http://asyncapi.com/definitions/3.0.0/Reference.json"
},
{
"$ref": "http://asyncapi.com/definitions/3.0.0/operation.json"
}
]
}
}
},
"messages": {
"type": "object",
"patternProperties": {
Expand Down Expand Up @@ -281,4 +296,4 @@
},
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "http://asyncapi.com/definitions/3.0.0/components.json"
}
}

0 comments on commit 29e96d7

Please sign in to comment.