Skip to content

HTTP Operation Binding v0.2.0

The HTTP operation binding v0.2.0 is used to define the details of an HTTP request, specifically its method and query parameters.

Property Type Required Description
bindingVersion string No Binding version (defaults to 0.2.0).
method string Yes The HTTP request method (e.g., GET, POST).
query Schema Object No A schema defining the URL query parameters.

This operation describes an API call to fetch a list of users with a GET method and a query schema for filtering.

operations:
listUsers:
action: receive
channel:
$ref: '#/channels/users'
bindings:
http:
bindingVersion: '0.2.0'
method: 'GET'
query:
type: object
properties:
companyId:
type: string
  • Renamed the original type property to method for better clarity compared to v0.1.0.