1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-11 05:32:39 +01:00
invoiceninja/app/Http/Controllers/OpenAPI/Parameters.php
Shift 19080933b6
Apply Laravel coding style
Shift automatically applies the Laravel coding style - which uses the PSR-2 coding style as a base with some minor additions.

You may customize the code style applied by adding a [PHP CS Fixer][1] or [PHP CodeSniffer][2] ruleset to your project root. Feel free to use [Shift's Laravel ruleset][3] to help you get started.

For more information on customizing the code style applied by Shift, [watch this short video][4].

[1]: https://github.com/FriendsOfPHP/PHP-CS-Fixer
[2]: https://github.com/squizlabs/PHP_CodeSniffer
[3]: https://gist.github.com/laravel-shift/cab527923ed2a109dda047b97d53c200
[4]: https://laravelshift.com/videos/shift-code-style
2022-06-21 09:57:17 +00:00

97 lines
2.4 KiB
PHP

<?php
/**
* @OA\Parameter(
* name="X-Api-Secret",
* in="header",
* description="The API secret as defined by the .env variable API_SECRET",
* required=true,
* @OA\Schema(
* type="string",
* example="password"
* )
* ),
*
* @OA\Parameter(
* name="X-Requested-With",
* in="header",
* description="Used to send the XMLHttpRequest header",
* required=true,
* @OA\Schema(
* type="string",
* example="XMLHttpRequest",
* readOnly=true
* )
* ),
*
* @OA\Parameter(
* name="X-Api-Token",
* in="header",
* description="The API token to be used for authentication",
* required=true,
* @OA\Schema(
* type="string",
* example="HcRvs0oCvYbY5g3RzgBZrSBOChCiq8u4AL0ieuFN5gn4wUV14t0clVhfPc5OX99q"
* )
* ),
* @OA\Parameter(
* name="X-Api-Password",
* in="header",
* description="The login password when challenged",
* required=true,
* @OA\Schema(
* type="string",
* example="supersecretpassword"
* )
* ),
*
* @OA\Parameter(
* name="include",
* in="query",
* description="Includes child relationships in the response, format is comma separated",
* @OA\Schema(
* type="string",
* example="clients,invoices"
* )
* ),
*
* @OA\Parameter(
* name="include_static",
* in="query",
* description="Returns static variables",
* @OA\Schema(
* type="string",
* example="include_static=true"
* )
* ),
*
* @OA\Parameter(
* name="clear_cache",
* in="query",
* description="Clears the static cache",
* @OA\Schema(
* type="string",
* example="clear_cache=true"
* )
* ),
*
* @OA\Parameter(
* name="index",
* in="query",
* description="Replaces the default response index from data to a user specific string",
* @OA\Schema(
* type="string",
* example="user"
* )
* ),
*
* @OA\Parameter(
* name="api_version",
* in="query",
* description="The API version",
* @OA\Schema(
* type="number",
* example="user"
* )
* ),
*/