Skip to content

Commit

Permalink
Update tags
Browse files Browse the repository at this point in the history
  • Loading branch information
mattamon committed Apr 15, 2024
1 parent 4b86179 commit 3679b98
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion src/Config/OpenApi/Tags.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,10 @@

use OpenApi\Attributes\Tag;

#[Tag(name: 'Translation', description: 'Get translations either for a single key or multiple keys')]
#[Tag(name: 'Assets', description: 'Asset operations to get/update/create/delete assets')]
#[Tag(name: 'Authorization', description: 'Login via username and password to get a token or refresh the token')]
#[Tag(name: 'Translation', description: 'Get translations either for a single key or multiple keys')]

abstract class Tags
{
}
4 changes: 2 additions & 2 deletions src/Controller/Api/Assets/GetController.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ public function __construct(
//#[IsGranted('STUDIO_API')]
#[GET(
path: self::API_PATH . '/assets/{id}',
description: 'Get paginated assets',
summary: 'Get all assets',
description: 'Get assets by id by path parameter',
summary: 'Get assets by id',
security: self::SECURITY_SCHEME,
tags: ['Assets']
)]
Expand Down

0 comments on commit 3679b98

Please sign in to comment.