arrahtech / osdq-web Goto Github PK
View Code? Open in Web Editor NEWThe web version of osDQ
License: GNU Lesser General Public License v2.1
The web version of osDQ
License: GNU Lesser General Public License v2.1
It seems swagger annotation is added however, unless the swagger servlet is defined, we can't expose the API definition site.
Please refer to this site for details.
We are currently using Jersey 1.X which supports JAX-RS 1.X specification. However JAX-RS 2.0 is newer improved specification with additional features. Since we are building a new feature we can start with latest spec. This has details on improvement.
In below @consumes appear twice, causing compilation error
@GET
@Path("/data_dictionary/")
@ApiOperation(value = "Service to store data dictionary of a database in PDF format", httpMethod = "GET", responseClass = "com.org.arrah.framework.DataDictionary")
@ApiErrors({ @ApiError(code = 200, reason = "OK"),
@ApiError(code = 204, reason = "No Content"),
@ApiError(code = 400, reason = "Bad Request"),
@ApiError(code = 403, reason = "Forbidden"),
@ApiError(code = 404, reason = "Data Not Found"),
@ApiError(code = 408, reason = "Request Timeout"),
@ApiError(code = 500, reason = "Internal Server Error"),
@ApiError(code = 502, reason = "Bad Gateway"),
@ApiError(code = 503, reason = "Service Unavailable") })
@Consumes(MediaType.APPLICATION_FORM_URLENCODED)
public Response dictionaryPDF(@Context HttpServletResponse servletResponse)
{
try{
DataDictionaryData tableload_data = null;
DataDictionary dataDictionary = new DataDictionary(cookieValue,
servletResponse.getOutputStream());
We can add jetty plugin in pom to allow quickly running application within maven
mvn jetty:run
Swagger 1.5 supports latest 2.0 specification. Since we are starting now, we can start with latest version and improvement. Currently we are using swagger 1.2.1
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.