Commit Graph
5 Commits
Author SHA1 Message Date
Piotr AntosikandGitHub 10bcbb922f Update nelmio_api_doc.yaml 2018-05-01 01:11:11 +02:00
Baptiste LafontaineandBaptiste Lafontaine 3f3f2c85c3 Make the nelmio/api-doc-bundle recipe works out of the box
After applying this recipe, the route "/api/doc" was loaded by default, but it requires two component (`asset` and `twig`) that are usually not require for API only project.

The json route works of the box so it can be provided without additional action.

I faced it and it felt strange, and it seems that others have too : https://github.com/nelmio/NelmioApiDocBundle/issues/1220
2018-04-17 08:27:37 +02:00
Juan Luis García BorregoandGitHub 752a7b4b70 Update nelmio_api_doc.yaml
In Symfony 4
The `nelmio_api_doc.routes` config option is deprecated. Please use `nelmio_api_doc.areas` instead (just replace `routes` by `areas` in your config)
2018-03-16 10:17:03 +01:00
Guilhem Niot 1e92a89c66 Add a comment 2018-01-04 16:39:32 +01:00
Guilhem Niot a176487881 Add NelmioApiDocBundle 3.0 support 2018-01-04 13:49:49 +01:00