Проблема с установкой swagger на symfony 5

https://symfony.com/bundles/NelmioApiDocBundle/current/index.html Вот документация Если установить как сказано в симфони док с версией 5 то возникнет проблема

Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - nelmio/api-doc-bundle[v4.6.0, ..., v4.6.2] require psr/log ^1.0 -> found psr/log[1.0.0, ..., 1.1.4] but the package is fixed to 2.0.0 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
    - Root composer.json requires nelmio/api-doc-bundle ^4.6 -> satisfiable by nelmio/api-doc-bundle[v4.6.0, v4.6.1, v4.6.2].

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.

Installation failed, reverting ./composer.json and ./composer.lock to their original content.

Не понятно как решить, как установить openapi swagger на symfony 5


Ответы (0 шт):