EndpointSchema
Declaration schema of an API endpoint.
Properties
Name | Type | Description |
---|---|---|
method | string | The method to be used for invoking the endpoint. The definition of "method" may vary depending on the concrete |
params |
| Declaration of acceptable parameters of the endpoint if any, used primarily for type-inference at our end. |
path | string | Path of the target API endpoint. The definition and format of "path" may vary depending on the concrete |
response |
| Declaration of the expected response of the endpoint, used primarily for type-inference at our end. |