diff --git a/composer.json b/composer.json old mode 100755 new mode 100644 index b7ad877..dfc611f --- a/composer.json +++ b/composer.json @@ -25,7 +25,7 @@ "sonata-project/doctrine-orm-admin-bundle": "^3.3", "sonata-project/user-bundle": "^4.0", "friendsofsymfony/rest-bundle": "^2.3", - "nelmio/api-doc-bundle": "^2.13", + "nelmio/api-doc-bundle": "^3.7", "symfony-cmf/routing-bundle": "^2.0", "sonata-project/page-bundle": "^3.7", "sonata-project/datagrid-bundle": "^2.3", diff --git a/composer.lock b/composer.lock old mode 100755 new mode 100644 index fb0dbe0..a81a6f4 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "27174f64e9c48ab9ca135803412cfe99", + "content-hash": "7115ee722da60850a14355d611b94f16", "packages": [ { "name": "behat/transliterator", @@ -1446,6 +1446,45 @@ ], "time": "2018-11-22T13:24:40+00:00" }, + { + "name": "exsyst/swagger", + "version": "v0.4.1", + "source": { + "type": "git", + "url": "https://github.com/GuilhemN/swagger.git", + "reference": "a02984db5edacdce2b4e09dae5ba8fe17a0e449e" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/GuilhemN/swagger/zipball/a02984db5edacdce2b4e09dae5ba8fe17a0e449e", + "reference": "a02984db5edacdce2b4e09dae5ba8fe17a0e449e", + "shasum": "" + }, + "require": { + "php": "^7.0" + }, + "require-dev": { + "phpunit/phpunit": "^6.5" + }, + "type": "library", + "autoload": { + "psr-4": { + "EXSyst\\Component\\Swagger\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Ener-Getick", + "email": "egetick@gmail.com" + } + ], + "description": "A php library to manipulate Swagger specifications", + "time": "2018-07-27T06:40:00+00:00" + }, { "name": "fig/link-util", "version": "1.1.0", @@ -3134,65 +3173,71 @@ }, { "name": "nelmio/api-doc-bundle", - "version": "2.13.4", - "target-dir": "Nelmio/ApiDocBundle", + "version": "v3.7.1", "source": { "type": "git", "url": "https://github.com/nelmio/NelmioApiDocBundle.git", - "reference": "28802f2c44dbbf29aa7f5dc80a10f44d3558f580" + "reference": "6faec063214234993ca3d10a2f1b0e6d613c576a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nelmio/NelmioApiDocBundle/zipball/28802f2c44dbbf29aa7f5dc80a10f44d3558f580", - "reference": "28802f2c44dbbf29aa7f5dc80a10f44d3558f580", + "url": "https://api.github.com/repos/nelmio/NelmioApiDocBundle/zipball/6faec063214234993ca3d10a2f1b0e6d613c576a", + "reference": "6faec063214234993ca3d10a2f1b0e6d613c576a", "shasum": "" }, "require": { - "michelf/php-markdown": "~1.4", - "php": ">=5.4", - "symfony/console": "~2.3|~3.0|~4.0", - "symfony/framework-bundle": "~2.3|~3.0|~4.0", - "symfony/twig-bundle": "~2.3|~3.0|~4.0" + "exsyst/swagger": "^0.4.1", + "php": "^7.1", + "phpdocumentor/reflection-docblock": "^3.1|^4.0|^5.0", + "symfony/framework-bundle": "^3.4|^4.0|^5.0", + "symfony/options-resolver": "^3.4.4|^4.0|^5.0", + "symfony/property-info": "^3.4|^4.0|^5.0", + "zircote/swagger-php": "^2.0.9" }, "conflict": { - "jms/serializer": "<0.12", - "jms/serializer-bundle": "<0.11", - "symfony/symfony": "~2.7.8", - "twig/twig": "<1.12" + "symfony/framework-bundle": "4.2.7" }, "require-dev": { - "doctrine/doctrine-bundle": "~1.5", - "doctrine/orm": "~2.3", - "dunglas/api-bundle": "~1.0", - "friendsofsymfony/rest-bundle": "~1.0|~2.0", - "jms/serializer-bundle": ">=0.11", - "sensio/framework-extra-bundle": "~3.0", - "symfony/browser-kit": "~2.3|~3.0|~4.0", - "symfony/css-selector": "~2.3|~3.0|~4.0", - "symfony/finder": "~2.3|~3.0|~4.0", - "symfony/form": "~2.3|~3.0|~4.0", - "symfony/phpunit-bridge": "~2.7|~3.0|~4.0", - "symfony/serializer": "~2.7|~3.0|~4.0", - "symfony/validator": "~2.3|~3.0|~4.0", - "symfony/yaml": "~2.3|~3.0|~4.0" + "api-platform/core": "^2.1.2", + "doctrine/annotations": "^1.2", + "doctrine/common": "^2.4", + "friendsofsymfony/rest-bundle": "^2.0|^3.0@beta", + "jms/serializer": "^1.14|^3.0", + "jms/serializer-bundle": "^2.3|^3.0", + "sensio/framework-extra-bundle": "^3.0.13|^4.0|^5.0", + "symfony/asset": "^3.4|^4.0|^5.0", + "symfony/browser-kit": "^3.4|^4.0|^5.0", + "symfony/cache": "^3.4|^4.0|^5.0", + "symfony/config": "^3.4|^4.0|^5.0", + "symfony/console": "^3.4|^4.0|^5.0", + "symfony/dom-crawler": "^3.4|^4.0|^5.0", + "symfony/form": "^3.4|^4.0|^5.0", + "symfony/phpunit-bridge": "^3.4.24|^4.0|^5.0", + "symfony/property-access": "^3.4|^4.0|^5.0", + "symfony/routing": "^3.4.42|^4.0|^5.0", + "symfony/stopwatch": "^3.4|^4.0|^5.0", + "symfony/templating": "^3.4|^4.0|^5.0", + "symfony/twig-bundle": "^3.4|^4.0|^5.0", + "symfony/validator": "^3.4|^4.0|^5.0", + "willdurand/hateoas-bundle": "^1.0|^2.0" }, "suggest": { - "dunglas/api-bundle": "For making use of resources definitions of DunglasApiBundle.", - "friendsofsymfony/rest-bundle": "For making use of REST information in the doc.", - "jms/serializer": "For making use of serializer information in the doc.", - "symfony/form": "For using form definitions as input.", - "symfony/validator": "For making use of validator information in the doc." + "api-platform/core": "For using an API oriented framework.", + "friendsofsymfony/rest-bundle": "For using the parameters annotations." }, "type": "symfony-bundle", "extra": { "branch-alias": { - "dev-2.x": "2.13-dev" + "dev-3.x": "3.7.x-dev" } }, "autoload": { - "psr-0": { - "Nelmio\\ApiDocBundle": "" - } + "psr-4": { + "Nelmio\\ApiDocBundle\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -3215,7 +3260,7 @@ "documentation", "rest" ], - "time": "2019-06-01T13:34:59+00:00" + "time": "2020-09-20T18:38:26+00:00" }, { "name": "ocramius/package-versions", @@ -3361,6 +3406,7 @@ "javascript", "minification" ], + "abandoned": true, "time": "2016-04-19T09:28:22+00:00" }, { @@ -3481,6 +3527,154 @@ ], "time": "2015-05-17T12:39:23+00:00" }, + { + "name": "phpdocumentor/reflection-common", + "version": "2.1.0", + "source": { + "type": "git", + "url": "https://github.com/phpDocumentor/ReflectionCommon.git", + "reference": "6568f4687e5b41b054365f9ae03fcb1ed5f2069b" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phpDocumentor/ReflectionCommon/zipball/6568f4687e5b41b054365f9ae03fcb1ed5f2069b", + "reference": "6568f4687e5b41b054365f9ae03fcb1ed5f2069b", + "shasum": "" + }, + "require": { + "php": ">=7.1" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.x-dev" + } + }, + "autoload": { + "psr-4": { + "phpDocumentor\\Reflection\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Jaap van Otterdijk", + "email": "opensource@ijaap.nl" + } + ], + "description": "Common reflection classes used by phpdocumentor to reflect the code structure", + "homepage": "http://www.phpdoc.org", + "keywords": [ + "FQSEN", + "phpDocumentor", + "phpdoc", + "reflection", + "static analysis" + ], + "time": "2020-04-27T09:25:28+00:00" + }, + { + "name": "phpdocumentor/reflection-docblock", + "version": "4.3.4", + "source": { + "type": "git", + "url": "https://github.com/phpDocumentor/ReflectionDocBlock.git", + "reference": "da3fd972d6bafd628114f7e7e036f45944b62e9c" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/da3fd972d6bafd628114f7e7e036f45944b62e9c", + "reference": "da3fd972d6bafd628114f7e7e036f45944b62e9c", + "shasum": "" + }, + "require": { + "php": "^7.0", + "phpdocumentor/reflection-common": "^1.0.0 || ^2.0.0", + "phpdocumentor/type-resolver": "~0.4 || ^1.0.0", + "webmozart/assert": "^1.0" + }, + "require-dev": { + "doctrine/instantiator": "^1.0.5", + "mockery/mockery": "^1.0", + "phpdocumentor/type-resolver": "0.4.*", + "phpunit/phpunit": "^6.4" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "4.x-dev" + } + }, + "autoload": { + "psr-4": { + "phpDocumentor\\Reflection\\": [ + "src/" + ] + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Mike van Riel", + "email": "me@mikevanriel.com" + } + ], + "description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.", + "time": "2019-12-28T18:55:12+00:00" + }, + { + "name": "phpdocumentor/type-resolver", + "version": "1.0.1", + "source": { + "type": "git", + "url": "https://github.com/phpDocumentor/TypeResolver.git", + "reference": "2e32a6d48972b2c1976ed5d8967145b6cec4a4a9" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/2e32a6d48972b2c1976ed5d8967145b6cec4a4a9", + "reference": "2e32a6d48972b2c1976ed5d8967145b6cec4a4a9", + "shasum": "" + }, + "require": { + "php": "^7.1", + "phpdocumentor/reflection-common": "^2.0" + }, + "require-dev": { + "ext-tokenizer": "^7.1", + "mockery/mockery": "~1", + "phpunit/phpunit": "^7.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.x-dev" + } + }, + "autoload": { + "psr-4": { + "phpDocumentor\\Reflection\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Mike van Riel", + "email": "me@mikevanriel.com" + } + ], + "description": "A PSR-5 based resolver of Class names, Types and Structural Element Names", + "time": "2019-08-22T18:11:29+00:00" + }, { "name": "phpoffice/phpspreadsheet", "version": "1.11.0", @@ -3999,6 +4193,7 @@ "configuration", "distribution" ], + "abandoned": true, "time": "2019-06-18T15:43:58+00:00" }, { @@ -4658,6 +4853,7 @@ "keywords": [ "sonata" ], + "abandoned": true, "time": "2017-12-16T18:36:00+00:00" }, { @@ -7586,6 +7782,55 @@ ], "time": "2020-02-11T15:31:23+00:00" }, + { + "name": "webmozart/assert", + "version": "1.9.1", + "source": { + "type": "git", + "url": "https://github.com/webmozart/assert.git", + "reference": "bafc69caeb4d49c39fd0779086c03a3738cbb389" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/webmozart/assert/zipball/bafc69caeb4d49c39fd0779086c03a3738cbb389", + "reference": "bafc69caeb4d49c39fd0779086c03a3738cbb389", + "shasum": "" + }, + "require": { + "php": "^5.3.3 || ^7.0 || ^8.0", + "symfony/polyfill-ctype": "^1.8" + }, + "conflict": { + "phpstan/phpstan": "<0.12.20", + "vimeo/psalm": "<3.9.1" + }, + "require-dev": { + "phpunit/phpunit": "^4.8.36 || ^7.5.13" + }, + "type": "library", + "autoload": { + "psr-4": { + "Webmozart\\Assert\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Bernhard Schussek", + "email": "bschussek@gmail.com" + } + ], + "description": "Assertions to validate method input/output with nice error messages.", + "keywords": [ + "assert", + "check", + "validate" + ], + "time": "2020-07-08T17:02:28+00:00" + }, { "name": "willdurand/jsonp-callback-validator", "version": "v1.1.0", @@ -7677,6 +7922,68 @@ "negotiation" ], "time": "2017-05-14T17:21:12+00:00" + }, + { + "name": "zircote/swagger-php", + "version": "2.0.16", + "source": { + "type": "git", + "url": "https://github.com/zircote/swagger-php.git", + "reference": "a25c1bfe508e5f27d5f618648449593a79cbe406" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/zircote/swagger-php/zipball/a25c1bfe508e5f27d5f618648449593a79cbe406", + "reference": "a25c1bfe508e5f27d5f618648449593a79cbe406", + "shasum": "" + }, + "require": { + "doctrine/annotations": "*", + "php": ">=5.6", + "symfony/finder": ">=2.2" + }, + "require-dev": { + "phpunit/phpunit": ">=4.8.35 <=5.6", + "squizlabs/php_codesniffer": ">=2.7", + "zendframework/zend-form": "<2.8" + }, + "bin": [ + "bin/swagger" + ], + "type": "library", + "autoload": { + "psr-4": { + "Swagger\\": "src" + }, + "files": [ + "src/functions.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "Apache-2.0" + ], + "authors": [ + { + "name": "Robert Allen", + "email": "zircote@gmail.com", + "homepage": "http://www.zircote.com" + }, + { + "name": "Bob Fanger", + "email": "bfanger@gmail.com", + "homepage": "http://bfanger.nl" + } + ], + "description": "Swagger-PHP - Generate interactive documentation for your RESTful API using phpdoc annotations", + "homepage": "https://github.com/zircote/swagger-php/", + "keywords": [ + "api", + "json", + "rest", + "service discovery" + ], + "time": "2020-05-10T13:42:24+00:00" } ], "packages-dev": [