Put in order · NestJS course · Module 11: Swagger and OpenAPI
@ApiProperty Decorator with enum
Arrange the elements of @ApiProperty with enum in the correct order:
Items to put in order
- })
- enum: LegionaryRank,
- description: 'Rank',
- @ApiProperty({
You can check the correct answer by solving this task in the CodeWorlds game.