You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# 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::add_meta 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?
The text was updated successfully, but these errors were encountered:
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::add_meta 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?
The text was updated successfully, but these errors were encountered: