Merge pull request #924 from tael/patch-1

swagger-ui repository changed
This commit is contained in:
Guilhem N 2016-12-29 12:10:31 +01:00 committed by GitHub
commit 2d70b08021

View File

@ -79,7 +79,7 @@ when this endpoint returns a ``400 Validation failed.`` HTTP response.
You can omit the ``200`` entry in the ``responseMap`` property and specify You can omit the ``200`` entry in the ``responseMap`` property and specify
the default ``output`` property instead. That will result on the same thing. the default ``output`` property instead. That will result on the same thing.
Integration with ``wordnik/swagger-ui`` Integration with ``swagger-api/swagger-ui``
--------------------------------------- ---------------------------------------
You could import the routes for use with `swagger-ui`_. You could import the routes for use with `swagger-ui`_.
@ -157,5 +157,5 @@ namespaces (``Vendor\UserBundle\Entity\User => User``). This will not afford you
the guarantee that model IDs are unique, but that would really just depend on the guarantee that model IDs are unique, but that would really just depend on
the classes you have in use. the classes you have in use.
.. _`swagger-ui`: https://github.com/wordnik/swagger-ui .. _`swagger-ui`: https://github.com/swagger-api/swagger-ui
.. _`NelmioCorsBundle`: https://github.com/nelmio/NelmioCorsBundle .. _`NelmioCorsBundle`: https://github.com/nelmio/NelmioCorsBundle