wordnik/swagger-core — pull request #641 by abrenner (2014-08-06 21:48:30+00:00)
Title: Fixes Depreciated DropWizard Calls

The new version of DropWizard has changed the way the Environment class
works[1]. The correct syntax for setting environment for jersey is within the
```java
jersey().register()
```
method. Before, this was achieved with the
```java
addProvider
```
method. Sample DropWizard + Swagger fixed.

[1]: https://groups.google.com/d/msg/dropwizard-user/S4K3Ayfij3g/G7Fg7b4T6kEJ

Signed-off-by: Adam Brenner