Open davidsantiago opened 8 years ago
Since I filed this, I've learned about ServletContextListener, which I had never run across, but is a fine solution to do what I wanted. As far as my need, this issue is resolved. To the extent that this might be worth thinking about as a feature many other frameworks have, or just for documentation purposes, I'll leave it open for your consideration.
Usually when you write a servlet you can do initialization in your init() method, to get needed libraries and data structures and what not set up for when the requests start coming in. There does not appear to be a way to one-time initialization on servlet initialization in Swagger-inflector.