HttpOperation Object
Contains information about a REST-based operation.
This object is used by the following operations:
- Operations that reference the BindingOperation object
The properties included in the HttpOperation object are listed below.
Property | Type | Description |
---|---|---|
Method | string | The HTTP verb associated with the operation (GET, PUT, POST, or DELETE). |
Path | string | The parameterized path for the operation. For example, you might have /pet/{id} where "id" is the instance of the pet resource. You can also further describe or constrain the parameter by using regular expressions in the following format: /pet/{id:[regex]}. |
InputContentType | string | The content type (MIME type) valid for request messages for this operation. Multiple media types are comma-separated. |
OutputContentType | string | The content type (MIME type) valid for response messages for this operation. Multiple media types are comma-separated. |
FaultContentType | string | The content type (MIME type) valid for fault response messages for this operation. Multiple media types are comma-separated. |
Input | Input[ ] | An array of the input parameters for the operation. |