diff --git a/http/README.md b/http/README.md index e036b4b5..f9e98013 100644 --- a/http/README.md +++ b/http/README.md @@ -21,8 +21,37 @@ This object MUST NOT contain any properties. Its name is reserved for future use ## Channel Binding Object +Describes the http binding operation for a particular channel. This http binding object supports [OpenAPI's Path Item Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#path-item-object) + +##### Example +```yaml +channels: + /employees: + bindings: + http: + get: + description: 'Get employees data as per the id passed' + parameters: + - name: ID + in: query + reqruied: true + response: + '200': + description: A employee data as per ID + content: + application/json: + schema: + type: object + properties: + name: string + default: + description: Unexpected Error + content: + application/json: + schema: + type: string +``` -This object MUST NOT contain any properties. Its name is reserved for future use. diff --git a/http/json_schemas/operation.json b/http/json_schemas/operation.json index 67483a4c..a2f53dcd 100644 --- a/http/json_schemas/operation.json +++ b/http/json_schemas/operation.json @@ -116,4 +116,3 @@ -