Created
June 20, 2022 11:01
-
-
Save ponelat/cca1f57c9198a8904fe3d95fd02028e8 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
asyncapi: '2.4.0' | |
info: | |
title: Petstore Kafka - Pets | |
version: '1.0.0' | |
description: | | |
A simple demo API based on a real implementation. | |
There are | |
license: | |
name: Apache 2.0 | |
url: https://www.apache.org/licenses/LICENSE-2.0 | |
servers: | |
test: | |
url: kafka.swagger.io:9092 | |
protocol: kafka | |
description: Single demo Broker | |
defaultContentType: application/json | |
channels: | |
pets.added: | |
description: The topic for newly added Pets. | |
publish: | |
summary: New Pet added. | |
operationId: addPet | |
traits: | |
- $ref: '#/components/operationTraits/kafka' | |
message: | |
description: New Pets | |
payload: | |
type: object | |
examples: | |
- id: abc | |
name: Fido | |
components: | |
operationTraits: | |
kafka: | |
bindings: | |
kafka: | |
clientId: pets |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment