We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi,
I've been playing around with the Swagger module. Looks great!
I did notice that it doesn't seem to support the @Body('property') decorator.
@Body('property')
@Post('login') public async login( @Body('email') email: string, @Body('password') password: string ): Promise<AccessToken> { return this.userService.login(email, password); }
Ends up generating a Swagger API without any parameters for login.
login
The text was updated successfully, but these errors were encountered:
[nestjs#28] Add support for @Body('property') decorator
f1b1e4b
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Sorry, something went wrong.
No branches or pull requests
Hi,
I've been playing around with the Swagger module. Looks great!
I did notice that it doesn't seem to support the
@Body('property')
decorator.Ends up generating a Swagger API without any parameters for
login
.The text was updated successfully, but these errors were encountered: