Skip to content

HTTP operation binding

Contains information about the operation representation in HTTP.

Structure

copy

Examples

Request

json
{
      "type": "request", 
      "method": "GET",
      "query": {
        "type": "object",
        "required": [
          "companyId"
        ],
        "properties": {
          "companyId": {
            "type": "number",
            "minimum": 1,
            "description": "The Id of the company."
          }
        },
        "additionalProperties": false
      },
      "bindingVersion": "0.1.0"
}

Response

json
{
    "type": "response", 
    "query": {
        "type": "object",
        "required": [
            "companyId"
        ],
        "properties": {
            "companyId": {
                "type": "number",
                "minimum": 1,
                "description": "The Id of the company."
            }
        },
        "additionalProperties": false
    },
    "bindingVersion": "0.1.0"
}

Changelog

Good news, nothing was changed