ATG · Java · RESTFul · Servlet · Swagger

Swagger Documentation for ATG

A point of view – not a solution The mechanism described in works with any java web application as long as all the project class files reside in WEB-INF/classes. But this is not the case with ATG. ATG will read all class files from atglib, hence Approach 1: Rewrite the Package scanner class so… Continue reading Swagger Documentation for ATG

Java · RESTFul · Servlet · Swagger

Swagger Documentation for Servlet

                         Swagger is tool to document RESTFul services with some simple annotations. This mechanism can be applied even to servlets.            Read more about the swagger at Swagger. This document talks about writing swagger documentation for simple servlet. Step1. Create a simple maven web-app and add following  dependencies in pom.xml <dependency>            <groupId>com.wordnik</groupId>            <artifactId>swagger-annotations</artifactId>            <version>1.3.11</version>        </dependency>       … Continue reading Swagger Documentation for Servlet

Java · RESTFul · Swagger

Swagger Documentation for RESTFul Services

Swagger has come with an easy way to Document and Test RESTFul services with an ease. Swagger has come up with a bunch of Annotations which will be simply used to document and test web services. Here, I described how to document rest services with Swagger in simple steps. For mode details on swagger, please… Continue reading Swagger Documentation for RESTFul Services