WARNING: You are browsing the documentation for version 2.x which is not maintained anymore. If some of your projects are still using this version, consider upgrading.

DunglasApiBundle Support

DunglasApiBundle Support

This bundle recognizes and documents resources exposed with DunglasApiBundle.

Install NelmioApiDocBundle and the documentation will be automatically available. To enable the sandbox, use the following configuration:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
# app/config/config.yml
nelmio_api_doc:
    sandbox:
        accept_type:        "application/json"
        body_format:
            formats:        [ "json" ]
            default_format: "json"
        request_format:
            formats:
                json:       "application/json"

This work, including the code samples, is licensed under a Creative Commons BY-SA 3.0 license.