User:APaskulin (WMF)/API doc tools

This page shows an example of using the zircote/swagger-php tool to generate API docs from code annotations.

Alternative annotation organization
Here's an example of an individual property described separately and pulled into the parent schema:

Compared with:

Swagger output
Paste into Swagger Editor to see rendered output.