Sistema de Gestión Documental
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
379 B

5 years ago
  1. # Expose your documentation as JSON swagger compliant
  2. app.swagger:
  3. path: /api/doc.json
  4. methods: GET
  5. defaults: { _controller: nelmio_api_doc.controller.swagger }
  6. ## Requires the Asset component and the Twig bundle
  7. ## $ composer require twig asset
  8. app.swagger_ui:
  9. path: /api/doc
  10. methods: GET
  11. defaults: { _controller: nelmio_api_doc.controller.swagger_ui }