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

feat!: remove duplicate schemas #533

Merged
merged 7 commits into from
May 28, 2024
Merged
Show file tree
Hide file tree
Changes from 2 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 bindings/kafka/0.4.0/message.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"$ref": "http://asyncapi.com/definitions/3.0.0/schema.json"
},
{
"$ref": "http://asyncapi.com/definitions/3.0.0/avroSchema_v1.json"
"$ref": "http://asyncapi.com/common/avroSchema_v1.json"
}
],
"description": "The message key."
Expand Down
2 changes: 1 addition & 1 deletion common/avroSchema_v1.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "http://asyncapi.com/definitions/3.0.0/avroSchema_v1.json",
"$id": "http://asyncapi.com/common/avroSchema_v1.json",
"definitions": {
"avroSchema": {
"title": "Avro Schema",
Expand Down
2 changes: 1 addition & 1 deletion common/openapiSchema_3_0.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "http://asyncapi.com/definitions/3.0.0/openapiSchema_3_0.json",
"$id": "http://asyncapi.com/common/openapiSchema_3_0.json",
"type": "object",
"definitions": {
"ExternalDocumentation": {
Expand Down
317 changes: 0 additions & 317 deletions definitions/2.0.0/avroSchema_v1.json

This file was deleted.

4 changes: 2 additions & 2 deletions definitions/2.0.0/message.json
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@
"then": {
"properties": {
"payload": {
"$ref": "http://asyncapi.com/definitions/2.0.0/openapiSchema_3_0.json"
"$ref": "http://asyncapi.com/common/openapiSchema_3_0.json"
}
}
}
Expand All @@ -223,7 +223,7 @@
"then": {
"properties": {
"payload": {
"$ref": "http://asyncapi.com/definitions/2.0.0/avroSchema_v1.json"
"$ref": "http://asyncapi.com/common/avroSchema_v1.json"
}
}
}
Expand Down
Loading
Loading