# WADL Json Schema WebApp Example

This example demonstrates the wadl-json-schema extension module. It generates JSON Schemas for produced/consumed types and exposes it under `application.wadl/[bean-name]` path. It also changes the `<representation>` element in WADL xml by adding references to the schemas.

## Running the Example

You can run the example using jetty as follows:

run

> `mvn clean package jetty:run`

Get the generated wadl via curl or browser:

> `curl http://localhost:8080/wadl-json-schema-webapp/application.wadl`

See the generated JSON schema at:

> `curl http://localhost:8080/wadl-json-schema-webapp/application.wadl/greetingBean`