Skip to content

Instantly share code, notes, and snippets.

@jeusdi
jeusdi / IResourceSwaggerJAXRSInterface.java
Created July 23, 2015 06:11
Portion of Enpoint JAXRS swagger annotated interface
@PUT
@Path("{id}")
@ApiOperation(value = "Updates a given channel", responseHeaders = {
@ResponseHeader(name = "Location", description = "calls per hour allowed by the user", response = Integer.class)
}
)
@ApiResponses(value = {
@ApiResponse(code = 400, message = "Invalid channel information supplied")
})
public abstract Response update(
@jeusdi
jeusdi / build.gradle
Last active August 29, 2015 14:25
Hibernate JPA model generator
apply plugin: 'java'
apply plugin: 'war'
webAppDirName = 'WebContent'
group = "living"
version = '0.0.1-SNAPSHOT'
sourceCompatibility = 1.8
targetCompatibility = 1.8