Skip to content

Commit ab11f7e

Browse files
committed
fix sound identification swagger doc
1 parent 0a51be7 commit ab11f7e

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/sound-identification/sound-identification.controller.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
11
import { createProxyMiddleware } from "http-proxy-middleware";
2-
import { Controller, HttpException, Logger, Next, Post, Req, Res } from "@nestjs/common";
2+
import { HttpException, Logger, Next, Post, Req, Res } from "@nestjs/common";
33
import { ConfigService } from "@nestjs/config";
44
import { NextFunction, Request, Response } from "express";
55
import { ApiUser } from "src/decorators/api-user.decorator";
66
import { ApiUserEntity } from "src/api-users/api-user.entity";
7+
import { LajiApiController } from "src/decorators/laji-api-controller.decorator";
8+
import { ApiTags } from "@nestjs/swagger";
79

8-
@Controller("sound-identification")
10+
@ApiTags("Sound identification")
11+
@LajiApiController("sound-identification")
912
export class SoundIdentificationController {
1013
private logger = new Logger(SoundIdentificationController.name);
1114
constructor(

0 commit comments

Comments
 (0)