-
Notifications
You must be signed in to change notification settings - Fork 12
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
Question on scaling #19
Comments
I think this question be best asked on the swift-openapi-generator repository since the maintainers there would know the answer to your question better. As far as I'm aware, you can break down your openapi document to multiple different documents. If you want to break down your code into smaller pieces, you can also create multiple SwiftPM targets each with their own openapi document (it's generally a good idea to create more targets for both debug-build performance and clean-code reasons) |
Interesting, @MahdiBM. Would you suggest then to create multiple instances of a Client like this?
|
I think that makes sense to me |
Hi all, thanks for answering my question a while back on Fluent, @0xTim and @MahdiBM.
I have a broader question about the usage of the OpenAPI Vapor package. If I were to build a bigger OpenAPI document over time, the implementation of the Handler would grow quite fast. What would your suggestion be on managing this scaling up?
The text was updated successfully, but these errors were encountered: