NelmioApiDocBundle/Resources/doc/dunglasapibundle.md
William Durand d25dd30453
Refactor doc
2015-10-27 10:35:58 +01:00

647 B

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:

# 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"

back to index