Description
Hi there,
I've been looking for a way to generate a typescript server from an openapi schema that wasn't express based for a while now, and I am happy I found this tool, as it supports both Koa and Zod which are two library I have been using heavily in my projects, so big thanks for making it.
Now I am working on a project where I need to specify additional options to the Koa instance, one being the host options and the ability to use a custom function for the listen callback. Both of these are pretty important requirements for my project, due to how we want our output being presented to the console. Because my project makes use of node clusters, calling the startServer
function means that every web cluster instance is now outputting the line server listening: ...
which is not ideal, and there is no options to prevent this.
So having the option to override the default as a field in the ServerConfig
type would be a good compromise, unless of course you have a better solution in mind.
Thanks