-
-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from PatrickOtero/cleaning/ReportController
Cleaning/report controller
- Loading branch information
Showing
23 changed files
with
264 additions
and
97 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import { applyDecorators } from "@nestjs/common"; | ||
import { ApiOperation } from "@nestjs/swagger"; | ||
|
||
export function CreateCommentSwagger() { | ||
return applyDecorators( | ||
ApiOperation({ | ||
summary: 'Cadastrar um comentário.', | ||
}) | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import { applyDecorators } from "@nestjs/common"; | ||
import { ApiOperation } from "@nestjs/swagger"; | ||
|
||
export function DeleteCommentarySwagger() { | ||
return applyDecorators( | ||
ApiOperation({ | ||
summary: 'Excluir um comentário por id.', | ||
}) | ||
) | ||
} |
10 changes: 10 additions & 0 deletions
10
src/shared/Swagger/comment/get-all-commentaries.swagger.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import { applyDecorators } from "@nestjs/common"; | ||
import { ApiOperation } from "@nestjs/swagger"; | ||
|
||
export function GetAllCommentariesSwagger() { | ||
return applyDecorators( | ||
ApiOperation({ | ||
summary: 'Encontrar todos os comentários.', | ||
}) | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import { applyDecorators } from "@nestjs/common"; | ||
import { ApiOperation } from "@nestjs/swagger"; | ||
|
||
export function GetOneCommentaryByIdSwagger() { | ||
return applyDecorators( | ||
ApiOperation({ | ||
summary: 'Buscar um comentário por id.', | ||
}) | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import { applyDecorators } from "@nestjs/common"; | ||
import { ApiOperation } from "@nestjs/swagger"; | ||
|
||
export function UpdateCommentarySwagger() { | ||
return applyDecorators( | ||
ApiOperation({ | ||
summary: 'Atualizar um comentário por id.', | ||
}) | ||
) | ||
} |
Oops, something went wrong.