-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: enable nestjs swagger #16
Conversation
c2f3279
to
3be0c21
Compare
src/create-decorator.ts
Outdated
@@ -35,6 +35,11 @@ export const createDecorator = ( | |||
return originalFn.apply(this, args); | |||
}; | |||
|
|||
/** Swagger documentation will be displayed correctly only if this part is included. */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
function.name을 이용하여 동작하는 코드들이 있어서 유지
ex) @nestjs/swagger
느낌 어떠십니까
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
수정했습니당
* | ||
* ex) @nestjs/swagger | ||
*/ | ||
Object.defineProperty(descriptor.value, 'name', { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
이거 테케 넣어주실 수 있나요
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
테스트케이스 추가했습니다
Overview
I fixed the issue that Nestjs Swagger documentation was not being displayed correctly.
Closes #15
PR Checklist