packagist nelmio/api-doc-bundle 2.6.0
2.6.0 (2014-06-25)

latest releases: dev-master, v4.26.1, v4.26.0...
9 years ago

What's New?

  • The @ApiDoc annotation gets a new property named tags, which allow to tag a method (e.g. beta or in-development). You can configure either a single tag or an array of tags.
  • Under the request_format configuration node, there is a new available node named request_formats, allowing you to register custom mime types for XML and JSON formats:
# app/config/config.yml
nelmio_api_doc:
    sandbox:
        request_format:
            formats:                            # default `json` and `xml`,
                json: application/json          # override to add custom formats or disable
                xml: application/xml            # default formats

Changelog

  • Added: implement Tags for functions
  • Added: request formats configuration
  • Fixed: retrieval of the validation MetadataFactory
  • Fixed: simplified the Travis configuration
  • Fixed: pressing enter in the sandbox mode will now lead to submit the form
  • Fixed: broken documentation with Validator Constraints in FOSRestBundle requirements (#357)
  • Minor improvements (documentation, tests)

Don't miss a new api-doc-bundle release

NewReleases is sending notifications on new releases.