mirror of
https://github.com/jlengrand/openapi-generator.git
synced 2026-05-11 00:21:18 +00:00
* Upgrade PHPCS-Fixer to 3.5 version This version requires PHP 7.4 or 8.0 which perfectly meets our supported PHP right now. * Rename config file to .php-cs-fixer.dist.php This way it can be overwritten with local file(same name without "dist" part). Also it's recommended filename from the package doc. * Add PSR12 rule set to config I've changed config file a bit to look like example from the doc. Ref: https://github.com/FriendsOfPHP/PHP-CS-Fixer/blob/HEAD/doc/config.rst * Ignore new cache format * Remove blank line after class opening * Set constants in models public * Refresh samples
39 lines
1.0 KiB
JSON
39 lines
1.0 KiB
JSON
{
|
|
"description": "This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\",
|
|
"keywords": [
|
|
"openapitools",
|
|
"openapi-generator",
|
|
"openapi",
|
|
"php",
|
|
"sdk",
|
|
"rest",
|
|
"api"
|
|
],
|
|
"homepage": "https://openapi-generator.tech",
|
|
"license": "unlicense",
|
|
"authors": [
|
|
{
|
|
"name": "OpenAPI-Generator contributors",
|
|
"homepage": "https://openapi-generator.tech"
|
|
}
|
|
],
|
|
"require": {
|
|
"php": "^7.3 || ^8.0",
|
|
"ext-curl": "*",
|
|
"ext-json": "*",
|
|
"ext-mbstring": "*",
|
|
"guzzlehttp/guzzle": "^7.3",
|
|
"guzzlehttp/psr7": "^1.7 || ^2.0"
|
|
},
|
|
"require-dev": {
|
|
"phpunit/phpunit": "^8.0 || ^9.0",
|
|
"friendsofphp/php-cs-fixer": "^3.5"
|
|
},
|
|
"autoload": {
|
|
"psr-4": { "OpenAPI\\Client\\" : "lib/" }
|
|
},
|
|
"autoload-dev": {
|
|
"psr-4": { "OpenAPI\\Client\\Test\\" : "test/" }
|
|
}
|
|
}
|