You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: