changed tag endpoint

This commit is contained in:
hannathkadher
2025-02-20 17:15:44 +04:00
parent 6301da0665
commit 394dd0dd6d
5 changed files with 19 additions and 21 deletions

View File

@ -320,7 +320,7 @@ export class ControllerRoute {
};
static TAG = class {
public static readonly ROUTE = 'tags';
public static readonly ROUTE = '/projects/:projectUuid/tags';
static ACTIONS = class {
public static readonly CREATE_TAG_SUMMARY = 'Create a new tag';
public static readonly CREATE_TAG_DESCRIPTION =

View File

@ -0,0 +1,11 @@
import { ApiProperty } from '@nestjs/swagger';
import { IsUUID } from 'class-validator';
export class ProjectParam {
@ApiProperty({
description: 'UUID of the Project',
example: 'd290f1ee-6c54-4b01-90e6-d701748f0851',
})
@IsUUID()
projectUuid: string;
}