Over the years, as developers, we have always looked for ways that we can automate our documentation, from PHPDoc to Swagger and beyond. In recent years that has been a significant shift in the API world to adopt a more design-first-led approach to API documentation.
As developers, we often don’t have the time or inclination to dive into a design-first approach to our APIs - this is just a fact.
Our first step will be to install a package that lets us generate our API documentation.
We start by adding @group Book Collection which will group this endpoint under a “Book Collection” allowing for easier navigation of your API documentation.