Skip to content

Instantly share code, notes, and snippets.

View malalanayake's full-sized avatar

Dinuka Malalanayake malalanayake

View GitHub Profile
@malalanayake
malalanayake / RestAPI.java
Created March 25, 2014 18:06
REST Api Documentation with Swagger
/**
* Rest web service for operate the admin details
*
* @author dinuka
*
*/
@Path("/" + APINames.ADMIN)
@Api(value = "/" + APINames.ADMIN, description = "Rest api for do operations on admin", produces = MediaType.APPLICATION_JSON)
@Produces({ MediaType.APPLICATION_JSON })
public class AdminAPI {