10000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
Hello, this issue is similar to #46, as i would like to have a controller with multiple endpoints.
For example
@Controller("users") @Controller("user") export class UserController { @Get("") public async getAllUsers() { // Logic here } }
So that the urls "GET /users" and "GET /user" ger mapped in the same functions.
The use case is the API migration, where I want to change name and during the intermediate phase both endpoints should be available.
Thanks for your work!
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hello,
this issue is similar to #46, as i would like to have a controller with multiple endpoints.
For example
So that the urls "GET /users" and "GET /user" ger mapped in the same functions.
The use case is the API migration, where I want to change name and during the intermediate phase both endpoints should be available.
Thanks for your work!
The text was updated successfully, but these errors were encountered: