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

AsyncApi version 3.0.0 is not supported #347

Open
i-vasilev opened this issue Aug 1, 2024 · 2 comments
Open

AsyncApi version 3.0.0 is not supported #347

i-vasilev opened this issue Aug 1, 2024 · 2 comments

Comments

@i-vasilev
Copy link

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
Copy link

github-actions bot commented Aug 1, 2024

Thank you for collaborating with the project by giving us feedback! Cheers!

@jemacineiras
Copy link
Contributor

Not for now. I just was working in a full refactor of how we create the DTOs. in order to be common between implementations. Now I can start working on that. Sorry for the delay.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants