A
A
Anton Sushilov2020-06-11 19:24:14
API
Anton Sushilov, 2020-06-11 19:24:14

Laravel mvc + swagger how to implement?

How to document Laravel application using mvc using swagger? Or is there another solution?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
T
Taras Dovgal, 2020-06-11
@HiBye

If you want to use annotations to describe API documentation directly in controllers, you can try this package: https://github.com/DarkaOnLine/L5-Swagger. In my opinion, this is a little verbose and greatly increases the number of comments / annotations in the code, so I would recommend the methods from the Swagger / OpenAPI documentation.

K
Konstantin B., 2020-06-11
@Kostik_1993

Take and write as the documentation says. Or what's the problem?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question