Skip to content

HTTP operation binding

Contains information about the operation representation in HTTP.

Structure

copy

Examples

Get

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

Post

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

Changelog

Good news, nothing was changed