Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add support for multiple methods in http bindings #131

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 30 additions & 1 deletion http/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,37 @@ This object MUST NOT contain any properties. Its name is reserved for future use
<a name="channel"></a>

## 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.


<a name="operation"></a>
Expand Down
1 change: 0 additions & 1 deletion http/json_schemas/operation.json
Original file line number Diff line number Diff line change
Expand Up @@ -116,4 +116,3 @@