From 0fd910b34aa2e9fad43a64e2e7c29abdc4e31088 Mon Sep 17 00:00:00 2001 From: Guilhem Niot Date: Fri, 24 Jul 2020 16:57:39 +0200 Subject: [PATCH] Update the installation command --- Resources/doc/index.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Resources/doc/index.rst b/Resources/doc/index.rst index 2c51dd5..b5d2af4 100644 --- a/Resources/doc/index.rst +++ b/Resources/doc/index.rst @@ -2,7 +2,7 @@ NelmioApiDocBundle ================== The **NelmioApiDocBundle** bundle allows you to generate documentation in the -OpenAPI (Swagger) format and provides a sandbox to interactively experiment with the API. +OpenAPI version 2 (Swagger) format and provides a sandbox to interactively experiment with the API. What's supported? ----------------- @@ -20,7 +20,7 @@ It does also support `Symfony form`_ types. Migrate from 2.x to 3.0 ----------------------- -`To migrate from 2.x to 3.0, just follow our guide.`__ +`To migrate from 2.x to 3.0, follow our guide.`__ __ https://github.com/nelmio/NelmioApiDocBundle/blob/master/UPGRADE-3.0.md @@ -31,7 +31,7 @@ Open a command console, enter your project directory and execute the following c .. code-block:: bash - $ composer require nelmio/api-doc-bundle + $ composer require nelmio/api-doc-bundle:^3.0 .. note::