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