M
M
Messi2019-01-24 12:25:49
symfony
Messi, 2019-01-24 12:25:49

Creating Swagger Documentation with Symfony?

Hello! I am not strong in this topic and because of this I am asking for tips from anyone who has experience. Symfony 3 is available and there is api. Is there a swagger bundle for this symphony that will go through all controllers and make api documentation?
Annotations to methods are described.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Decadal, 2019-01-24
@Decadal

will do the documentation for you? Oh, I also once thought that such a tool exists.
But, you know, the swagger can't figure out exactly what parameters you're processing, what you're expecting, and what kind of validation they have. Therefore, you can connect a swagger, and then write annotations, according to which the circuit will be built. Everything will have to be written by hand.
Maybe for some more strict languages ​​like Java this is possible. But for our php everything is done by hand.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question