Skip to content

Commit

Permalink
[Role Management] List all available Roles (#421)
Browse files Browse the repository at this point in the history
* Fix endpoint description.

* Add description.
  • Loading branch information
martineiber authored Sep 12, 2024
1 parent 2161f5d commit de77f5d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/Role/Controller/GetRolesController.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ public function __construct(
#[Get(
path: self::API_PATH . '/roles',
operationId: 'role_get_collection',
description: 'role_get_collection_description',
summary: 'role_get_collection_summary',
tags: [Tags::Role->value]
)]
Expand Down
5 changes: 3 additions & 2 deletions translations/studio_api_docs.en.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -349,8 +349,9 @@ role_folder_create_summary: Create a new role folder.
role_folder_delete_by_id_summary: Delete a specific folder with all sub roles.
role_get_by_id_success_response: List of available user roles.
role_get_by_id_summary: Get all available user roles.
role_get_collection_success_response: Role data.
role_get_collection_summary: Get role by id.
role_get_collection_success_response: List of available roles.
role_get_collection_summary: Get all available roles.
role_get_collection_description: Get all available roles with basic information
role_get_tree_success_response: Collection of roles including folders for the given parent id.
role_get_tree_summary: Get collection of roles for tree view.
role_update_by_id_response: Updated data.
Expand Down

0 comments on commit de77f5d

Please sign in to comment.