Skip to content
This repository has been archived by the owner on Aug 16, 2024. It is now read-only.

Commit

Permalink
fix(server): swagger - fixed missing export (#189)
Browse files Browse the repository at this point in the history
  • Loading branch information
serhiisol authored Aug 9, 2023
1 parent b317266 commit c651fc3
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
3 changes: 2 additions & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,10 @@ Closes:
steps to reproduce etc.
-->

### What was changed (if possible, include any code snippets, videos, screenshots, or gifs):
### What was changed:

<!--
Let us know what you are changing.
Share as mush as possible that could provide the whole context of the change.
If possible, include any code snippets, videos, screenshots, or gifs.
-->
3 changes: 1 addition & 2 deletions server/example/modules/posts/posts.controller.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
import { Controller, Pipe } from '@server';
import { Body, Get, Params, Post, Render } from '@server/http';
import { ApiParameter, ApiResponse, ApiSecurity } from '@server/swagger';
import { ApiParameter, ApiResponse, ApiResponseSchema, ApiSecurity } from '@server/swagger';
import { IsNumber, IsOptional, IsString, Max, Min } from 'class-validator';

import { ApiResponseSchema } from '../../../src/platforms/swagger/decorators/api-response';
import { PostsService } from '../../services';
import { Access, AccessParam } from './decorators';
import { AccessPipe } from './pipes';
Expand Down
4 changes: 2 additions & 2 deletions server/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,5 +76,5 @@
]
}
},
"version": "1.0.0-beta.9"
"version": "1.0.0-beta.10"
}
2 changes: 1 addition & 1 deletion server/src/platforms/swagger/decorators/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export { ApiOperation } from './api-operation';
export { ApiParameter } from './api-parameter';
export { ApiResponse } from './api-response';
export * from './api-response';
export * from './api-security';

0 comments on commit c651fc3

Please sign in to comment.