Skip to content

Commit

Permalink
feat: update test
Browse files Browse the repository at this point in the history
  • Loading branch information
lit26 committed Feb 13, 2024
1 parent d9e0454 commit e3eed25
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions test/plugin/fixtures/app.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ export class AppController {
* create a Cat
*
* @remarks Creating a test cat
*
* @throws {500} Something is wrong.
* @throws {400} Bad Request.
* @throws {400} Missing parameters.
*
* @returns {Promise<Cat>}
* @memberof AppController
Expand Down Expand Up @@ -75,6 +79,10 @@ let AppController = exports.AppController = class AppController {
*
* @remarks Creating a test cat
*
* @throws {500} Something is wrong.
* @throws {400} Bad Request.
* @throws {400} Missing parameters.
*
* @returns {Promise<Cat>}
* @memberof AppController
*/
Expand Down Expand Up @@ -109,6 +117,9 @@ let AppController = exports.AppController = class AppController {
};
__decorate([
openapi.ApiOperation({ summary: \"create a Cat\", description: \"Creating a test cat\" }),
openapi.ApiResponse({ status: 500, description: "Something is wrong." }),
openapi.ApiResponse({ status: 400, description: "Bad Request." }),
openapi.ApiResponse({ status: 400, description: "Missing parameters." }),
(0, common_1.Post)(),
openapi.ApiResponse({ status: 201, type: Cat })
], AppController.prototype, \"create\", null);
Expand Down

0 comments on commit e3eed25

Please sign in to comment.