Example Value overwrites Parameter's DataType
Hi,

I encountered the following unexpected behavior. When specifying an example value in a `@ApiImplicitParam` annotation the parameter's dataType will be set to the example value.

For instance annotation

``` java
@ApiImplicitParam(name="id", paramType="path", dataType="string", example="123456")
```

will lead to JSON

``` json
"parameters":
[{"name":"id",
  "in":"path",
  "type":"123456",
  "x-example":"123456"}]
```

This behavior was observed on swagger 1.5.4.

Cause is the `ParameterProcessor.applyAnnotations()` method. The following code found in the method overwrites the parameter's dataType:

``` java
  if (StringUtils.isNotEmpty(param.getExample())) {
        p.setType(param.getExample());
  }
```

I am not really sure about the original intention of the code but it does not look right to me. The code was introduced by commit 62c100f33a54d7688e859cd011abb89a907e02ef "added example support for non-body params, implicits".

Best regards,

phosn

diff --git a/modules/swagger-core/src/main/java/io/swagger/util/ParameterProcessor.java b/modules/swagger-core/src/main/java/io/swagger/util/ParameterProcessor.java
index b75656013..adb4106f0 100644
--- a/modules/swagger-core/src/main/java/io/swagger/util/ParameterProcessor.java
+++ b/modules/swagger-core/src/main/java/io/swagger/util/ParameterProcessor.java
@@ -67,9 +67,6 @@ public class ParameterProcessor {
                     p.setType(param.getDataType());
                 }
             }
-            if (StringUtils.isNotEmpty(param.getExample())) {
-                p.setType(param.getExample());
-            }
             if (helper.getMinItems() != null) {
                 p.setMinItems(helper.getMinItems());
             }
diff --git a/modules/swagger-jaxrs/src/test/java/io/swagger/resources/ResourceWithImplicitFileParam.java b/modules/swagger-jaxrs/src/test/java/io/swagger/resources/ResourceWithImplicitFileParam.java
index 63f6d5da6..fbf438d74 100644
--- a/modules/swagger-jaxrs/src/test/java/io/swagger/resources/ResourceWithImplicitFileParam.java
+++ b/modules/swagger-jaxrs/src/test/java/io/swagger/resources/ResourceWithImplicitFileParam.java
@@ -13,7 +13,7 @@ public class ResourceWithImplicitFileParam {
     @POST
     @Path("/testString")
     @ApiImplicitParams({
-            @ApiImplicitParam(name = "sort", paramType = "form", dataType = "java.io.File", required = false, value = "file to upload")
+      @ApiImplicitParam(name = "sort", paramType = "form", dataType = "java.io.File", required = false, value = "file to upload")
     })
     @ApiOperation("Test operation with implicit parameters")
     public void testImplicitFileParam() {
['modules/swagger-core/src/main/java/io/swagger/util/ParameterProcessor.java', 'modules/swagger-jaxrs/src/test/java/io/swagger/resources/ResourceWithImplicitFileParam.java']