Skip to content

Commit

Permalink
fix: AsyncAPI v3 shows warning in Studio and IntelliJ plugin when ref…
Browse files Browse the repository at this point in the history
…erencing a json schema

New multiFormatSchema validation rules

#494
asyncapi/jasyncapi-idea-plugin#49
  • Loading branch information
Pakisan committed Mar 29, 2024
1 parent b45e610 commit 52b06c5
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 28 deletions.
14 changes: 0 additions & 14 deletions definitions/3.0.0/anySchema.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,6 @@
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"description": "An object representing either a Reference, a Schema or a Multi Format Schema",
"properties": {
"schemaFormat": {
"type": "string",
"description": "Supported Schema format"
},
"schema": {
"type": "object",
"description": "Schema definition"
},
"$ref": {
"type": "string",
"description": "Reference to schema"
}
},
"oneOf": [
{
"description": "Because of $ref collision in Reference and AsyncAPI Schema(includes $ref from Json Schema)",
Expand Down
14 changes: 0 additions & 14 deletions schemas/3.0.0-without-$id.json
Original file line number Diff line number Diff line change
Expand Up @@ -2688,20 +2688,6 @@
"anySchema": {
"type": "object",
"description": "An object representing either a Reference, a Schema or a Multi Format Schema",
"properties": {
"schemaFormat": {
"type": "string",
"description": "Supported Schema format"
},
"schema": {
"type": "object",
"description": "Schema definition"
},
"$ref": {
"type": "string",
"description": "Reference to schema"
}
},
"oneOf": [
{
"description": "Because of $ref collision in Reference and AsyncAPI Schema(includes $ref from Json Schema)",
Expand Down

0 comments on commit 52b06c5

Please sign in to comment.