You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yes bindings do need a bit more work (modeling), for sure. I think the naming convention should be driven by the text of the AsyncAPI specification. For example, the spec has a table of Operation Bindings like this:
So I think the convention should be to remove non-alphanumeric characters from the value in the Type column of that table. So in this case, it would be:
HTTPOperationBinding
WebSocketsOperationBinding
KafkaOperationBinding
AnypointMQOperationBinding
AMQPOperationBinding
AMQP10OperationBinding
And so forth.
I believe this is consistent with your suggestion, so I agree. :)
EricWittmann
changed the title
I would like to determine a naming convention for restricting Binding type.
Properly model Bindings in AsyncAPI
Feb 22, 2023
For example, in the case of Kafka's Server Binding
but currently there is only one Binding type and it is defined as follows
traits:
properties:
type: any
propertyOrder:
No restrictions.
I would like to add individual restrictions, but is there a naming convention here?
A sample is provided below.
I would like to make a sample if this is acceptable.
KafkaServersBinding
KafkaChannelBinding
KafkaChannelTopicConfigurationBinding
KafkaOperationBinding
KafkaMessageBinding
https://github.com/asyncapi/bindings/tree/master/kafka
The text was updated successfully, but these errors were encountered: