RestExpress/PluginExpress — pull request #6 by ritzbitz01 (2014-05-02 18:26:41+00:00)
Title: Swagger annotation support

Updated swagger-annotations version to 1.3.4 so I could use the "hidden" property in the ApiModelProperty annotation.

Added functionality to read in Swagger annotations if they are present on the controller methods. Setting specific json fields to the swagger annotation values, if present. If the swagger annotations are present the values in the annotations will be used.

Added ApiResponse class so the errorResponse list could be populated based on the ApiResponse swagger annotation. This will set a code and reason for returning that code. Bit of a misnomer, as you can set both successful and error response codes in this list.

Added integration test to verify Swagger Annotations were being processed correctly and the correct values were being returned in the json to the api-docs route call.