diff --git a/composer.json b/composer.json index b903dc76..ca62c5c7 100644 --- a/composer.json +++ b/composer.json @@ -36,7 +36,7 @@ "sonata-project/intl-bundle": "^2.2", "imagine/imagine": "^0.5", "jasig/phpcas": "^1.3.4", - "nelmio/api-doc-bundle": "^2.9", + "nelmio/api-doc-bundle": "^3.0", "knplabs/knp-paginator-bundle": "^2.5", "sabre/vobject": "^3.4", "knplabs/knp-time-bundle": "^1.4", diff --git a/composer.lock b/composer.lock index 9816cec3..23afb562 100644 --- 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": "da2c95b6a09fe190b77d06c79e0d8f16", + "content-hash": "633127a3306aeb0c6e0aadd833b56959", "packages": [ { "name": "artgris/filemanager-bundle", @@ -2551,6 +2551,45 @@ ], "time": "2019-08-09T06:54:03+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": "ezyang/htmlpurifier", "version": "v4.13.0", @@ -2742,7 +2781,7 @@ "homepage": "https://github.com/friendsofsymfony/FOSJsRoutingBundle/contributors" }, { - "name": "William Durand", + "name": "William DURAND", "email": "william.durand1@gmail.com" } ], @@ -4213,55 +4252,6 @@ ], "time": "2016-05-06T06:27:38+00:00" }, - { - "name": "michelf/php-markdown", - "version": "1.9.0", - "source": { - "type": "git", - "url": "https://github.com/michelf/php-markdown.git", - "reference": "c83178d49e372ca967d1a8c77ae4e051b3a3c75c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/michelf/php-markdown/zipball/c83178d49e372ca967d1a8c77ae4e051b3a3c75c", - "reference": "c83178d49e372ca967d1a8c77ae4e051b3a3c75c", - "shasum": "" - }, - "require": { - "php": ">=5.3.0" - }, - "require-dev": { - "phpunit/phpunit": ">=4.3 <5.8" - }, - "type": "library", - "autoload": { - "psr-4": { - "Michelf\\": "Michelf/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Michel Fortin", - "email": "michel.fortin@michelf.ca", - "homepage": "https://michelf.ca/", - "role": "Developer" - }, - { - "name": "John Gruber", - "homepage": "https://daringfireball.net/" - } - ], - "description": "PHP Markdown", - "homepage": "https://michelf.ca/projects/php-markdown/", - "keywords": [ - "markdown" - ], - "time": "2019-12-02T02:32:27+00:00" - }, { "name": "monolog/monolog", "version": "1.25.5", @@ -4351,64 +4341,61 @@ }, { "name": "nelmio/api-doc-bundle", - "version": "2.13.4", - "target-dir": "Nelmio/ApiDocBundle", + "version": "v3.0.0", "source": { "type": "git", "url": "https://github.com/nelmio/NelmioApiDocBundle.git", - "reference": "28802f2c44dbbf29aa7f5dc80a10f44d3558f580" + "reference": "29ec20bda12c4f0f65dd806ab00f25a9d5b20b9c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nelmio/NelmioApiDocBundle/zipball/28802f2c44dbbf29aa7f5dc80a10f44d3558f580", - "reference": "28802f2c44dbbf29aa7f5dc80a10f44d3558f580", + "url": "https://api.github.com/repos/nelmio/NelmioApiDocBundle/zipball/29ec20bda12c4f0f65dd806ab00f25a9d5b20b9c", + "reference": "29ec20bda12c4f0f65dd806ab00f25a9d5b20b9c", "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" - }, - "conflict": { - "jms/serializer": "<0.12", - "jms/serializer-bundle": "<0.11", - "symfony/symfony": "~2.7.8", - "twig/twig": "<1.12" + "exsyst/swagger": "~0.3", + "php": "^7.0", + "symfony/framework-bundle": "^3.2.5|^4.0", + "symfony/property-info": "^3.1|^4.0", + "zircote/swagger-php": "^2.0.9" }, "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.0.3", + "doctrine/annotations": "^1.2", + "friendsofsymfony/rest-bundle": "^2.0", + "jms/serializer-bundle": "^2.0", + "phpdocumentor/reflection-docblock": "^3.1", + "sensio/framework-extra-bundle": "^3.0", + "symfony/asset": "^2.8|^3.0|^4.0", + "symfony/browser-kit": "^2.8|^3.0|^4.0", + "symfony/cache": "^3.1|^4.0", + "symfony/config": "^2.8|^3.0|^4.0", + "symfony/console": "^2.8|^3.0|^4.0", + "symfony/dom-crawler": "^2.8|^3.0|^4.0", + "symfony/form": "^3.0.8|^4.0", + "symfony/phpunit-bridge": "^3.3", + "symfony/property-access": "^2.8|^3.0|^4.0", + "symfony/stopwatch": "^2.8|^3.0|^4.0", + "symfony/templating": "^2.8|^3.0|^4.0", + "symfony/twig-bundle": "^3.0|^4.0", + "symfony/validator": "^2.8|^3.0|^4.0", + "symfony/yaml": "^2.8|^3.0|^4.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.", + "phpdocumentor/reflection-docblock": "For parsing php docs." }, "type": "symfony-bundle", "extra": { "branch-alias": { - "dev-2.x": "2.13-dev" + "dev-master": "3.0.x-dev" } }, "autoload": { - "psr-0": { - "Nelmio\\ApiDocBundle": "" + "psr-4": { + "Nelmio\\ApiDocBundle\\": "" } }, "notification-url": "https://packagist.org/downloads/", @@ -4432,7 +4419,7 @@ "documentation", "rest" ], - "time": "2019-06-01T13:34:59+00:00" + "time": "2017-12-09T13:31:56+00:00" }, { "name": "nelmio/cors-bundle", @@ -7870,6 +7857,68 @@ "events" ], "time": "2019-01-13T17:07:34+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": [