swagger - Choose a tools to documents REST API -
i use doxygen document php rest application , discover apiary & swagger witch seem tools document api...i want know if there way generate documentation automatically using 1 of tools (apiary or swagger ) based on code comments?
using swagger-php
can generate documentation automatically collection of php scripts documented using annotations.
swagger-php decently documented here: http://zircote.com/swagger-php/ working example can found on github: https://github.com/zircote/swagger-php/tree/master/examples/petstore
regarding generation of json file containing documentation check answer here: https://stackoverflow.com/a/31178997/2853903
Comments
Post a Comment