-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
APIDocs - description editable pls #4
Comments
Also please allow for changing the description per parameter as it now it defaults to |
I'm going to do descriptions for routes in next release. But I can't say so about the description of a parameter. Because if I going to do this feature I'll have to once again break compatibility with the previous version. Because I'm thinking of declaring parameters as |
* Update base example; * Update route_param in API;
Now you could add description to yours operations and parameters. Still working on the initial request. |
* Raisin: `add_resource_desc`, `resource_desc`; * API: `_add_route`; * APIDocs; * Update example and POD;
You can add description for resource like in this example: desc 'Actions on users',
resource => 'user' => sub { ... } See example. |
Many thanks for adding this feature! |
The "description" of an API should preferably be editable. Now it's just hardcoded to say "Operations about " (see line 101 in APIDocs.pm).
Many thanks in advance for making this configurable per in a future release.
The text was updated successfully, but these errors were encountered: