Yes, look at the swagger-servlet module in here:

https://github.com/swagger-api/swagger-core/tree/master/modules/swagger-servlet 
<https://github.com/swagger-api/swagger-core/tree/master/modules/swagger-servlet>

Example:

https://github.com/swagger-api/swagger-samples/tree/master/java/java-servlet 
<https://github.com/swagger-api/swagger-samples/tree/master/java/java-servlet>

> On Aug 19, 2016, at 12:41 PM, avinash.upadhy...@gmail.com wrote:
> 
> I have a REST services which doesn't use any opensource rest library (jersey 
> etc..) Its implemented using Filters.
> 
> Is it possible to generate a Swagger definition from such service by 
> annotating the source code? If yes please share some details.
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Swagger" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to swagger-swaggersocket+unsubscr...@googlegroups.com 
> <mailto:swagger-swaggersocket+unsubscr...@googlegroups.com>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.

-- 
You received this message because you are subscribed to the Google Groups 
"Swagger" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to swagger-swaggersocket+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to