introduce a performance backend
This commit is contained in:
1 parent
31c9739d38
commit
822709f577
14 files changed
+5346
-33
No files matched your search
@@ -0,0 +1,25 @@
|
||||
import { IsNotEmpty } from 'class-validator';
|
||||
import { ApiProperty } from '@nestjs/swagger';
|
||||
|
||||
export class SemanticVersionDto {
|
||||
@IsNotEmpty()
|
||||
@ApiProperty({
|
||||
description: 'The main version to describe downwards compatibility issues',
|
||||
example: 1,
|
||||
})
|
||||
main: number;
|
||||
|
||||
@IsNotEmpty()
|
||||
@ApiProperty({
|
||||
description: 'The major version to describe upwards compatibility issues',
|
||||
example: 1,
|
||||
})
|
||||
major: number;
|
||||
|
||||
@IsNotEmpty()
|
||||
@ApiProperty({
|
||||
description: 'The minor version to describe API stable changes',
|
||||
example: 1,
|
||||
})
|
||||
minor: number;
|
||||
}
|
||||
Reference in new issue
Block a user