@asyncapi/java-spring-cloud-stream-template
Version:
Java Spring Cloud Stream template for AsyncAPI generator.
46 lines (45 loc) • 1.13 kB
YAML
components:
schemas:
RideReceipt:
$schema: 'http://json-schema.org/draft-07/schema#'
type: object
title: This schema is irrelevant
$id: 'http://example.com/root.json'
messages:
Billing Receipt Created:
payload:
$ref: '#/components/schemas/RideReceipt'
schemaFormat: application/vnd.aai.asyncapi+json;version=2.0.0
contentType: application/json
channels:
'acme/billing/receipts/{receipt_id}/created/{version}/regions/{region}/chargify/{ride_id}':
subscribe:
bindings:
solace:
bindingVersion: 0.1.0
destinations:
- destinationType: topic
message:
$ref: '#/components/messages/Billing Receipt Created'
parameters:
version:
schema:
type: string
receipt_id:
schema:
type: string
ride_id:
schema:
type: string
region:
schema:
type: string
enum:
- US
- UK
- CA
- MX
asyncapi: 2.0.0
info:
title: ExpenseReportingIntegrationApplication
version: 0.0.1