scs-multiapi-plugin
scs-multiapi-plugin copied to clipboard
AsyncApi version 3.0.0 is not supported
Hello! In December 2023, the Async Api team released a new version 3.0.0, which saw fundamental changes in the yml structure. Now, when I run code generation, an exception throws, that stop all generation and building. Could you fix it?
Yml example:
asyncapi: 3.0.0
info:
title: Api 3.0.0 Example
version: 1.0.0
operations:
operation1:
action: receive
channel:
$ref: '#/channels/channel1'
channels:
channel1:
address: my-channel1
messages:
channel1:
$ref: '#/components/messages/message1'
components:
messages:
message1:
bindings:
kafka:
bindingVersion: '0.5.0'
key:
type: string
enum: ['myKey']
schemaIdLocation: 'payload'
schemaIdPayloadEncoding: 'apicurio-new'
schemaLookupStrategy: 'TopicIdStrategy'
payload:
$ref: "#/components/schemas/Event1"
schemas:
Event1:
type: object
properties:
id:
type: string
nullable: false
source:
type: string
nullable: false