HTTP Channel Binding v0.3.0
The HTTP channel binding specifies that an AsyncAPI channel corresponds to an HTTP endpoint.
Overview
As of v0.3.0
, this binding is a placeholder and has no configurable properties. Its presence on a channel indicates that the channel's address represents a URL path, potentially with path parameters.
The detailed configuration for the HTTP interaction, such as the method, query parameters, and headers, is defined in the Operation Binding and Message Binding.
Channel Properties
Property | Type | Required | Description |
---|---|---|---|
bindingVersion | string | No | Binding version (defaults to 0.3.0 ). |
Example
This example identifies the channel /users/{userId}
as an HTTP endpoint.
yaml
channels:
userChannel:
address: '/users/{userId}'
parameters:
userId:
schema:
type: string
bindings:
http:
bindingVersion: '0.3.0'
Changelog
Version 0.3.0
- The binding remains a placeholder.