nelmio_api_doc.yaml 383 B

123456789101112
  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 }