php-lumen.routes.mustache Maven / Gradle / Ivy
licenseInfo}}
{{#apiInfo}}/**
* {{appName}}
* @version {{appVersion}}
*/
$router->get('/', function () use ($router) {
return $router->app->version();
});
{{#apis}}
{{#operations}}
{{#operation}}
/**
* {{httpMethod}} {{operationId}}
* Summary: {{summary}}
* Notes: {{notes}}
*/
$router->{{httpMethod}}('{{{basePathWithoutHost}}}{{{path}}}', '{{classname}}@{{operationId}}');
{{/operation}}
{{/operations}}
{{/apis}}
{{/apiInfo}}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy