Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kyuff/versioned-service-demo

A Demo of using Jacksons @JsonView to create a versioned REST-like service with JAX-RS.
https://github.com/kyuff/versioned-service-demo

Last synced: 12 days ago
JSON representation

A Demo of using Jacksons @JsonView to create a versioned REST-like service with JAX-RS.

Awesome Lists containing this project

README

        

Demo applikation to show versioned REST apis with JsonView and JAX-RS

Usage:

git clone https://github.com/kyuff/versioned-service-demo.git
cd versioned-service-demo
mvn jetty:run

Point a browser to:

* http://localhost:8080/api/person/7/1
* http://localhost:8080/api/person/7/2

Where the last number in the URL is the API version number.