Skip to content

HTTP Message Binding v0.1.0 ​

The HTTP message binding v0.1.0 is used to define the schema for the headers of an HTTP message.

Message Properties ​

PropertyTypeRequiredDescription
bindingVersionstringNoBinding version (defaults to 0.1.0).
headersSchema ObjectNoA schema object defining the HTTP headers.

Example ​

yaml
messages:
  userSignupEvent:
    bindings:
      http:
        bindingVersion: '0.1.0'
        headers:
          type: object
          properties:
            Content-Type:
              type: string
              enum: ['application/json']

Changelog ​

Version 0.1.0 ​

  • Initial release with only the headers property.