private function configurePut(Put $operation, array $options)
    {
        if (!$operation->summary) {
            $operation->summary = 'Edit a '.$options['entity_name'].' entity';
        }

        if (!isset($operation->parameters['body'])) {
            $operation->parameters[] = new Parameter(
                [
                    'parameter' => 'body',
                    'in' => 'body',
                    'name' => 'body',
                    'required' => true,
                    'schema' => [
                        '$ref' => '#/definitions/'.$options['entity_name'],
                    ],
                ]
            );
        }

        $this->appendResponses(
            $operation,
            [
                new Response(
                    [
                        'response' => 204,
                        'description' => 'Entity Updated',
                    ]
                ),
                new Response(
                    [
                        'response' => 400,
                        'description' => 'Validation Exception',
                    ]
                ),
                new Response(
                    [
                        'response' => 404,
                        'description' => 'Entity Not Found',
                    ]
                ),
            ]
        );
    }