@asyncapi/java-spring-cloud-stream-template
Version:
Java Spring Cloud Stream template for AsyncAPI generator.
46 lines (45 loc) • 1.04 kB
YAML
components:
schemas:
mySchema:
title: MySchema
type: object
properties:
prop1:
type: string
long:
description: The name of this property is a Java reserved word.
type: string
messages:
myEvent:
payload:
$ref: '#/components/schemas/mySchema'
schemaFormat: application/vnd.aai.asyncapi+json;version=2.0.0
contentType: application/json
channels:
'testLevel1/{messageId}/{operation}':
subscribe:
message:
$ref: '#/components/messages/myEvent'
publish:
bindings:
smf:
topicSubscriptions:
- testLevel1/*/*
channelType: clientEndpoint
bindingVersion: 0.1.0
message:
$ref: '#/components/messages/myEvent'
parameters:
messageId:
schema:
type: string
operation:
schema:
type: string
enum:
- POST
- DELETE
asyncapi: 2.3.0
info:
title: solace-test-app
version: 0.0.1