asyncapi/bindings

Kafka Bindings: operation binding parameters mismatch

Pakisan opened this issue · 1 comments

Describe the bug

Good morning. Here is parameters mismatch in operation binding section in HTTP Bindings

How to Reproduce

You defined next properties in this schema as:

  • groupId as String
  • clientId as String

but provides example where they are objects

channels:
  user-signedup:
    publish:
      bindings:
        kafka:
          groupId:
            type: string
            enum: ['myGroupId']
          clientId:
            type: string
            enum: ['myClientId']
          bindingVersion: '0.1.0'

Expected behavior

but looks like they should be Schema Object

Am I right? If it so I will create PR with fix.

#25

Was resolved via #25