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

Popular posts from this blog

OpenCV OpenCL: Convert Mat to Bitmap in JNI Layer for Android -

android - org.xmlpull.v1.XmlPullParserException: expected: START_TAG {http://schemas.xmlsoap.org/soap/envelope/}Envelope -

python - How to remove the Xframe Options header in django? -