Open jschoedt opened 7 years ago
Hi - just wondering why you want to use two frameworks for REST APIs in your app. Why not just use SpringFox and not use Google Cloud Endpoints?
@tangiel
@tangiel
I can think of 2 reasons but there may be more:
How can I get those features without using the second framework? I would like to avoid it :-)
It would be nice with some kind of integration with Spring Framework and eg. SpringFox.
I am able to generate the api spec without the use of "endpoints-framework-tools" just fine and even deploying to appengine (standard) works. But then im stuck. I guess I need the EndpointsServlet but that does not integrate nice with the other frameworks :-/
Could we extend the EndpointsServlet to have it search for eg. @GetMapping annotations. And have com.google.api.server.spi.EndpointsServlet#createService return the beans instead of creating new instances?
.... Thanks