idrinth/phalcon-routes2openapi

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

2.0.2 2020-08-18 12:38 UTC

This package is auto-updated.

Last update: 2024-04-18 20:27:33 UTC


README

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"}