idrinth/phalcon-routes2openapi

Generates an JSON represantation of the routes registered via phalcon in an OpenAPI-compatible way.


Keywords
documentation, rest, api, routes
License
MIT

Documentation

Phalcon Routes to OpenApi

Build Status Codacy Badge Codacy Badge

This library generates a representation of the routes in your project ready to be used with any OpenApi-compatible service(swagger for example).

Additional Annotations

You can define returns via @return-{status code} {mime-type} {schema} with all but the status code being optional. For example:

     * @return-200 application/json {"type":"object"}