# A swagger route can be flagged to be swagger with the :Swagger attribute
sub test_two :Local :Swagger {
my ($self, $c) = @_;
$c->response->body('test_two');
}
And later you wrote:_""Any additional metadata that would need to be exposed would need to use the Swagger::addmeta function to associate it." (within Section Attribute :Swagger)
But ... I cannot figure out, how to do this.
Could you please give an example, how to add additional metadata (for example description in the example above) - while using the :Swagger-Attribute?
Within your Readme.md-example you have following:
And later you wrote:_""Any additional metadata that would need to be exposed would need to use the Swagger::addmeta function to associate it." (within Section Attribute :Swagger)
But ... I cannot figure out, how to do this.
Could you please give an example, how to add additional metadata (for example description in the example above) - while using the :Swagger-Attribute?