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

test: update asyncapi.json files based on current state in the branch #2

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
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"channels": {
"another-queue": {
"messages": {
"another-queue_publish_receiveAnotherPayload.message": {
"io.github.stavshamir.springwolf.example.amqp.dtos.AnotherPayloadDto": {
"headers": {
"$ref": "#/components/schemas/HeadersNotDocumented"
},
Expand Down Expand Up @@ -69,7 +69,7 @@
},
"example-producer-channel-publisher": {
"messages": {
"example-producer-channel-publisher_subscribe.message": {
"io.github.stavshamir.springwolf.example.amqp.dtos.AnotherPayloadDto": {
"headers": {
"$ref": "#/components/schemas/HeadersNotDocumented"
},
Expand All @@ -92,7 +92,7 @@
},
"example-queue": {
"messages": {
"example-queue_publish_receiveExamplePayload.message": {
"io.github.stavshamir.springwolf.example.amqp.dtos.ExamplePayloadDto": {
"headers": {
"$ref": "#/components/schemas/HeadersNotDocumented"
},
Expand Down Expand Up @@ -134,7 +134,7 @@
},
"example-topic-routing-key": {
"messages": {
"example-topic-routing-key_publish_bindingsExample.message": {
"io.github.stavshamir.springwolf.example.amqp.dtos.AnotherPayloadDto": {
"headers": {
"$ref": "#/components/schemas/HeadersNotDocumented"
},
Expand Down Expand Up @@ -176,7 +176,7 @@
},
"multi-payload-queue": {
"messages": {
"multi-payload-queue_publish_bindingsBeanExample.message.0": {
"io.github.stavshamir.springwolf.example.amqp.dtos.AnotherPayloadDto": {
"headers": {
"$ref": "#/components/schemas/HeadersNotDocumented"
},
Expand All @@ -194,7 +194,7 @@
}
}
},
"multi-payload-queue_publish_bindingsBeanExample.message.1": {
"io.github.stavshamir.springwolf.example.amqp.dtos.ExamplePayloadDto": {
"headers": {
"$ref": "#/components/schemas/HeadersNotDocumented"
},
Expand Down Expand Up @@ -307,13 +307,9 @@
},
"operations": {
"another-queue_publish_receiveAnotherPayload": {
"action": "receive",
"channel": {
"$ref": "#/channels/another-queue"
},
"description": "Auto-generated description",
"bindings": {
"amqp": {
"expiration": 0,
"cc": [
"another-queue"
],
Expand All @@ -322,22 +318,20 @@
},
"messages": [
{
"$ref": "#/channels/another-queue/messages/another-queue_publish_receiveAnotherPayload.message"
"$ref": "#/components/messages/io.github.stavshamir.springwolf.example.amqp.dtos.AnotherPayloadDto"
}
]
},
"example-producer-channel-publisher_subscribe": {
"example-producer-channel-publisher": {
"action": "send",
"channel": {
"$ref": "#/channels/example-producer-channel-publisher"
},
"title": "example-producer-channel-publisher_subscribe",
"description": "Custom, optional description defined in the AsyncPublisher annotation",
"bindings": {
"amqp": {
"expiration": 0,
"cc": [],
"cc": [ ],
"priority": 0,
"deliveryMode": 1,
"deliveryMode": 0,
"mandatory": false,
"timestamp": false,
"ack": false,
Expand All @@ -346,18 +340,14 @@
},
"messages": [
{
"$ref": "#/channels/example-producer-channel-publisher/messages/example-producer-channel-publisher_subscribe.message"
"$ref": "#/components/messages/io.github.stavshamir.springwolf.example.amqp.dtos.AnotherPayloadDto"
}
]
},
"example-queue_publish_receiveExamplePayload": {
"action": "receive",
"channel": {
"$ref": "#/channels/example-queue"
},
"description": "Auto-generated description",
"bindings": {
"amqp": {
"expiration": 0,
"cc": [
"example-queue"
],
Expand All @@ -366,18 +356,14 @@
},
"messages": [
{
"$ref": "#/channels/example-queue/messages/example-queue_publish_receiveExamplePayload.message"
"$ref": "#/components/messages/io.github.stavshamir.springwolf.example.amqp.dtos.ExamplePayloadDto"
}
]
},
"example-topic-routing-key_publish_bindingsExample": {
"action": "receive",
"channel": {
"$ref": "#/channels/example-topic-routing-key"
},
"description": "Auto-generated description",
"bindings": {
"amqp": {
"expiration": 0,
"cc": [
"example-topic-routing-key"
],
Expand All @@ -386,18 +372,14 @@
},
"messages": [
{
"$ref": "#/channels/example-topic-routing-key/messages/example-topic-routing-key_publish_bindingsExample.message"
"$ref": "#/components/messages/io.github.stavshamir.springwolf.example.amqp.dtos.AnotherPayloadDto"
}
]
},
"multi-payload-queue_publish_bindingsBeanExample": {
"action": "receive",
"channel": {
"$ref": "#/channels/multi-payload-queue"
},
"description": "Auto-generated description",
"bindings": {
"amqp": {
"expiration": 0,
"cc": [
"example-topic-routing-key"
],
Expand All @@ -406,10 +388,10 @@
},
"messages": [
{
"$ref": "#/channels/multi-payload-queue/messages/multi-payload-queue_publish_bindingsBeanExample.message.0"
"$ref": "#/components/messages/io.github.stavshamir.springwolf.example.amqp.dtos.ExamplePayloadDto"
},
{
"$ref": "#/channels/multi-payload-queue/messages/multi-payload-queue_publish_bindingsBeanExample.message.1"
"$ref": "#/components/messages/io.github.stavshamir.springwolf.example.amqp.dtos.AnotherPayloadDto"
}
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,129 +12,27 @@
"license": {
"name": "Apache License 2.0"
},
"tags": [],
"x-generator": "springwolf"
},
"defaultContentType": "application/json",
"servers": {
"kafka": {
"host": "kafka:29092",
"host": "localhost:50025",
"protocol": "kafka"
}
},
"channels": {
"another-topic": {
"address": "another-topic",
"messages": {
"another-topic_publish_consumerMethod.message": {
"name": "io.github.stavshamir.springwolf.example.cloudstream.dtos.AnotherPayloadDto",
"title": "AnotherPayloadDto",
"payload": {
"schemaFormat": "application/vnd.oai.openapi+json;version=3.0.0",
"schema": {
"$ref": "#/components/schemas/AnotherPayloadDto"
}
},
"headers": {
"$ref": "#/components/schemas/HeadersNotDocumented"
},
"bindings": {
"kafka": {}
}
},
"another-topic_subscribe_process.message": {
"name": "io.github.stavshamir.springwolf.example.cloudstream.dtos.AnotherPayloadDto",
"title": "AnotherPayloadDto",
"payload": {
"schemaFormat": "application/vnd.oai.openapi+json;version=3.0.0",
"schema": {
"$ref": "#/components/schemas/AnotherPayloadDto"
}
},
"headers": {
"$ref": "#/components/schemas/HeadersNotDocumented"
},
"bindings": {
"kafka": {}
}
}
},
"bindings": {
"kafka": {}
"kafka": { }
}
},
"example-topic": {
"address": "example-topic",
"messages": {
"example-topic_publish_process.message": {
"name": "io.github.stavshamir.springwolf.example.cloudstream.dtos.ExamplePayloadDto",
"title": "ExamplePayloadDto",
"payload": {
"schemaFormat": "application/vnd.oai.openapi+json;version=3.0.0",
"schema": {
"$ref": "#/components/schemas/ExamplePayloadDto"
}
},
"headers": {
"$ref": "#/components/schemas/HeadersNotDocumented"
},
"bindings": {
"kafka": {}
}
}
},
"bindings": {
"kafka": {}
"kafka": { }
}
}
},
"operations": {
"another-topic_publish_consumerMethod": {
"action": "receive",
"channel": {
"$ref": "#/channels/another-topic"
},
"description": "Auto-generated description",
"bindings": {
"kafka": {}
},
"messages": [
{
"$ref": "#/channels/another-topic/messages/another-topic_publish_consumerMethod.message"
}
]
},
"another-topic_subscribe_process": {
"action": "send",
"channel": {
"$ref": "#/channels/another-topic"
},
"description": "Auto-generated description",
"bindings": {
"kafka": {}
},
"messages": [
{
"$ref": "#/channels/another-topic/messages/another-topic_subscribe_process.message"
}
]
},
"example-topic_publish_process": {
"action": "receive",
"channel": {
"$ref": "#/channels/example-topic"
},
"description": "Auto-generated description",
"bindings": {
"kafka": {}
},
"messages": [
{
"$ref": "#/channels/example-topic/messages/example-topic_publish_process.message"
}
]
}
},
"components": {
"schemas": {
"AnotherPayloadDto": {
Expand Down Expand Up @@ -200,9 +98,10 @@
},
"HeadersNotDocumented": {
"type": "object",
"properties": {},
"example": {}
"properties": { },
"example": { }
}
}
}
},
"operations": { }
}
Loading
Loading