The NelmioApiDocBundle bundle allows you to generate documentation in the OpenAPI (Swagger) format and provides a sandbox to interactively experiment with the API. This bundle supports Symfony route requirements, PHP annotations, Swagger-Php annotations, FOSRestBundle annotations, and apps using API-Platform. For models, it supports the Symfony serializer, the JMS serializer and the willdurand/Hateoas library. It does also support Symfony form types. It generates OpenAPI documentation from your Symfony app thanks to Describers. One extracts data from SwaggerPHP annotations, one from your routes, etc. You can configure global information in the bundle configuration documentation.info section. Open a command console, enter your project directory and execute the provided command to download the latest version of this bundle.

Features

  • The normal PHPdoc block on the controller method is used for the summary and description
  • A model can be a Symfony form type, a Doctrine ORM entity or a general PHP object
  • You can customize the documentation of a form field using the documentation option
  • Customize the documentation of an object's property
  • Browse your documentation with Swagger UI
  • Expose it in JSON

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow NelmioApiDocBundle

NelmioApiDocBundle Web Site

Other Useful Business Software
Build on Google Cloud with $300 in Free Credit Icon
Build on Google Cloud with $300 in Free Credit

New to Google Cloud? Get $300 in free credit to explore Compute Engine, BigQuery, Cloud Run, Vertex AI, and 150+ other products.

Start your next project with $300 in free Google Cloud credit. Spin up VMs, run containers, query exabytes in BigQuery, or build AI apps with Vertex AI and Gemini. Once your credits are used, keep building with 20+ products with free monthly usage, including Compute Engine, Cloud Storage, GKE, and Cloud Run functions. Sign up to start building right away.
Start Free Trial
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of NelmioApiDocBundle!

Additional Project Details

Programming Language

PHP

Related Categories

PHP Software Development Software, PHP Documentation Software

Registered

2022-03-18