Skip to content
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

Is it possible to split routers with tsoa for lambdas? #1514

Closed
2 of 4 tasks
Anasshahidd21 opened this issue Nov 22, 2023 · 3 comments
Closed
2 of 4 tasks

Is it possible to split routers with tsoa for lambdas? #1514

Anasshahidd21 opened this issue Nov 22, 2023 · 3 comments
Labels

Comments

@Anasshahidd21
Copy link

Sorting

  • I'm submitting a ...

    • bug report
    • feature request
    • support request
  • I confirm that I

    • used the search to make sure that a similar issue hasn't already been submit

When creating an express server, I create multiple routers and each router is exported as a lambda function to AWS. I want to do the same while using tsoa but I know that tsoa has more of a monolithic architecture, is there a way to get to it? right now when I do the exports it is exporting all of the server as one lambda function

Copy link

Hello there Anasshahidd21 👋

Thank you for opening your very first issue in this project.

We will try to get back to you as soon as we can.👀

@WoH
Copy link
Collaborator

WoH commented Nov 23, 2023

Yes, via a custom route generator. There's one for AWS Lambda sketched out in the tests.

https://github.com/lukeautry/tsoa/tree/master/tests/fixtures/custom

Copy link

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days

@github-actions github-actions bot added the Stale label Dec 24, 2023
@WoH WoH closed this as completed Dec 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants