add the heading to the inbound structure
This commit is contained in:
@@ -19,10 +19,20 @@ export class FlightStateDto {
|
||||
@Max(700)
|
||||
groundSpeed: number;
|
||||
|
||||
@IsNotEmpty()
|
||||
@ApiProperty({
|
||||
description: 'The reported heading',
|
||||
example: 200,
|
||||
})
|
||||
@IsInt()
|
||||
@Min(0)
|
||||
@Max(360)
|
||||
heading: number;
|
||||
|
||||
@IsNotEmpty()
|
||||
@ApiProperty({
|
||||
description: 'The reported ground track',
|
||||
example: 400,
|
||||
example: 205,
|
||||
})
|
||||
@IsInt()
|
||||
@Min(0)
|
||||
|
||||
Reference in New Issue
Block a user