{{!--
    This partial renders a box containing information about a single operation of the service
    (such as calling a POST on the "/pets" resource).
    @name api/operations
    @param {Operation} operation a Swagger-Operation object.
    @param {string} method the http-method (GET, POST, DELETE, PUT, PATCH)
    @api public
--}}

<section class="summary operation{{#if deprecated}} -deprecated{{/if}}" data-path="{{fullPath}}" data-method="{{httpMethod}}" id="operation-{{htmlId httpMethod}}-{{htmlId fullPath}}">
    <h4 class="api-title"><span class="method operation-{{lowerCase httpMethod}}">{{upperCase httpMethod}}</span> {{fullPath}}</h4>

{{>hooks/operation-header}}

    {{#if deprecated}}
    <p><strong class="operation-label -deprecated">DEPRECATED</strong></p>
    {{/if}}

    {{{md summary "true"}}}
    {{{md description}}}

	<div class="operationId">
        <h5>Operation ID</h5>

        <table>
            <tr>
                <td class="type">
                    {{name}}
                </td>
            </tr>
        </table>
    </div>

{{>api/security-requirements}}
{{>api/request-body}}
{{>api/parameters parameters=parameters}}
{{>api/responses}}

{{>hooks/operation-footer}}
</section>
