ATG · Java · RESTFul · Servlet · Swagger

Swagger Documentation for ATG

A point of view – not a solution The mechanism described in https://prabhukvn.com/2016/02/24/swagger-documentation-for-servlet/ 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