Bugfix: fix the swagger broken issue caused by unsupported data type

Current implementation of SwaggerMojo does not support the data type
other than string, int, long and boolean.
This commit temporarily fix the issue on generating swagger doc.
Eventually, we need to augment SwaggerMojo to support more data type
including other primitive types and even Object data types.

Change-Id: I5cb69ea6af7faecfc19660c4bbf619c3d85508f3
diff --git a/web/api/src/main/java/org/onosproject/rest/resources/ApplicationsWebResource.java b/web/api/src/main/java/org/onosproject/rest/resources/ApplicationsWebResource.java
index e7dad7e..6ee5c83 100644
--- a/web/api/src/main/java/org/onosproject/rest/resources/ApplicationsWebResource.java
+++ b/web/api/src/main/java/org/onosproject/rest/resources/ApplicationsWebResource.java
@@ -176,12 +176,12 @@
     @GET
     @Produces(MediaType.APPLICATION_JSON)
     @Path("ids/entry")
-    public Response getAppIdByName(@QueryParam("id") Short id,
+    public Response getAppIdByName(@QueryParam("id") String id,
                                    @QueryParam("name") String name) {
         CoreService service = get(CoreService.class);
         ApplicationId appId = null;
         if (id != null) {
-            appId = service.getAppId(id);
+            appId = service.getAppId(Short.valueOf(id));
         } else if (name != null) {
             appId = service.getAppId(name);
         }