<commit_before><?php

use Denner\Client\Response;

return array(
    'name' => 'Denner Shop API',
    'operations' => array(
        'createSweepstakeParticipant' => array(
            'httpMethod' => 'POST',
            'uri' => 'sweepstake-participants',
            'summary' => 'Create a sweepstake participant',
            'parameters' => array(
                /** @todo Define actions properly and remove "additionalParameters" as catch-all... */
            ),
            'additionalParameters' => array(
                'location' => 'json',
            ),
            'responseClass' => Response\ResourceResponse::CLASS,
        ),
        'createWineAppraisal' => array(
            'httpMethod' => 'POST',
            'uri' => 'wines/{wine_id}/appraisals',
            'summary' => 'Create a wine appraisal',
            'parameters' => array(
                'wine_id' => array(
                    'description' => 'The ID of the wine for which to create the new appraisal',
                    'location' => 'uri',
                    'type' => 'string',
                    'required' => true,
                ),
                /** @todo Define actions properly and remove "additionalParameters" as catch-all... */
            ),
            'additionalParameters' => array(
                'location' => 'json',
            ),
            'responseClass' => Response\ResourceResponse::CLASS,
        ),
        'listWineAppraisals' => array(
            'httpMethod' => 'GET',
            'uri' => 'wines/{wine_id}/appraisals',
            'summary' => 'List a wine\'s appraisals',
            'parameters' => array(
                'wine_id' => array(
                    'description' => 'The ID of the wine for which to create the new appraisal',
                    'location' => 'uri',
                    'type' => 'string',
                    'required' => true,
                ),
                'page' => array(
                    '$ref' => 'PageParam',
                ),
                'page_size' => array(
                    '$ref' => 'PageSizeParam',
                ),
                'sort' => array(
                    '$ref' => 'SortParam',
                ),
            ),
            'responseClass' => Response\ListResponse::CLASS,
            'responseDataRoot' => 'appraisals',
        ),
        'listWines' => array(
            'httpMethod' => 'GET',
            'uri' => 'wines',
            'summary' => 'List wines',
            'parameters' => array(
                'page' => array(
                    '$ref' => 'PageParam',
                ),
                'page_size' => array(
                    '$ref' => 'PageSizeParam',
                ),
                'sort' => array(
                    '$ref' => 'SortParam',<commit_msg>Defined proper description for param<commit_after><?php

use Denner\Client\Response;

return array(
    'name' => 'Denner Shop API',
    'operations' => array(
        'createSweepstakeParticipant' => array(
            'httpMethod' => 'POST',
            'uri' => 'sweepstake-participants',
            'summary' => 'Create a sweepstake participant',
            'parameters' => array(
                /** @todo Define actions properly and remove "additionalParameters" as catch-all... */
            ),
            'additionalParameters' => array(
                'location' => 'json',
            ),
            'responseClass' => Response\ResourceResponse::CLASS,
        ),
        'createWineAppraisal' => array(
            'httpMethod' => 'POST',
            'uri' => 'wines/{wine_id}/appraisals',
            'summary' => 'Create a wine appraisal',
            'parameters' => array(
                'wine_id' => array(
                    'description' => 'The ID of the wine for which to create the new appraisal',
                    'location' => 'uri',
                    'type' => 'string',
                    'required' => true,
                ),
                /** @todo Define actions properly and remove "additionalParameters" as catch-all... */
            ),
            'additionalParameters' => array(
                'location' => 'json',
            ),
            'responseClass' => Response\ResourceResponse::CLASS,
        ),
        'listWineAppraisalsByWine' => array(
            'httpMethod' => 'GET',
            'uri' => 'wines/{wine_id}/appraisals',
            'summary' => 'List a wine\'s appraisals',
            'parameters' => array(
                'wine_id' => array(
                    'description' => 'The ID of the wine for which to list the appraisals',
                    'location' => 'uri',
                    'type' => 'string',
                    'required' => true,
                ),
                'page' => array(
                    '$ref' => 'PageParam',
                ),
                'page_size' => array(
                    '$ref' => 'PageSizeParam',
                ),
                'sort' => array(
                    '$ref' => 'SortParam',
                ),
            ),
            'responseClass' => Response\ListResponse::CLASS,
            'responseDataRoot' => 'appraisals',
        ),
        'listWines' => array(
            'httpMethod' => 'GET',
            'uri' => 'wines',
            'summary' => 'List wines',
            'parameters' => array(
                'page' => array(
                    '$ref' => 'PageParam',
                ),
                'page_size' => array(
                    '$ref' => 'PageSizeParam',
                ),
                'sort' => array(
                    '$ref' => 'SortParam',
{'fraction_non_alphanumeric': 0.1443335709194583, 'fraction_numerical': 0.0, 'mean_word_length': 1.2817073170731708, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 107, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6879488', 'n_tokens_mistral': 1478, 'n_tokens_neox': 1397, 'n_words': 324}