DZone

Swagger is a very popular way to define and describe your REST Services. It’s also the base for the Open API Initiative, the standardization of REST API documentation. I think we can all agree that REST and Swagger will be part of our life for the foreseeable future.

When creating REST using JAX-RS, you create the endpoints by adding annotations to your Java services.

Source: DZone