{"action":"created","issue":{"url":"https://api.github.com/repos/swagger-api/swagger-core/issues/846","labels_url":"https://api.github.com/repos/swagger-api/swagger-core/issues/846/labels{/name}","comments_url":"https://api.github.com/repos/swagger-api/swagger-core/issues/846/comments","events_url":"https://api.github.com/repos/swagger-api/swagger-core/issues/846/events","html_url":"https://github.com/swagger-api/swagger-core/issues/846","id":56214484,"number":846,"title":"@ApiParam mising type parameter","user":{"login":"pbielicki","id":1133099,"avatar_url":"https://avatars.githubusercontent.com/u/1133099?v=3","gravatar_id":"","url":"https://api.github.com/users/pbielicki","html_url":"https://github.com/pbielicki","followers_url":"https://api.github.com/users/pbielicki/followers","following_url":"https://api.github.com/users/pbielicki/following{/other_user}","gists_url":"https://api.github.com/users/pbielicki/gists{/gist_id}","starred_url":"https://api.github.com/users/pbielicki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pbielicki/subscriptions","organizations_url":"https://api.github.com/users/pbielicki/orgs","repos_url":"https://api.github.com/users/pbielicki/repos","events_url":"https://api.github.com/users/pbielicki/events{/privacy}","received_events_url":"https://api.github.com/users/pbielicki/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-02-02T09:42:49Z","updated_at":"2015-02-02T13:19:47Z","closed_at":null,"body":"In my opinion @ApiParam annotation is missing <code>type</code> parameter equivalent of @ApiResponse i.e.:\r\n\r\n<code>Class<?> response() default Void.class;</code>\r\n\r\nI'm using swagger-jaxrs_2.10-1.3.5 and all the method parameters of type <code>MyResponse&lt;TheResponse&gt;</code> annotated with @ApiParam end up with \"type\" : \"void\". More so, SwaggerUI less or equal to 2.0.39 (taken from swagger.js) is basically crashing on line <code>734: if(type.toLowerCase() === 'boolean') { </code> as type is <i>undefined</i>"},"comment":{"url":"https://api.github.com/repos/swagger-api/swagger-core/issues/comments/72456498","html_url":"https://github.com/swagger-api/swagger-core/issues/846#issuecomment-72456498","issue_url":"https://api.github.com/repos/swagger-api/swagger-core/issues/846","id":72456498,"user":{"login":"pbielicki","id":1133099,"avatar_url":"https://avatars.githubusercontent.com/u/1133099?v=3","gravatar_id":"","url":"https://api.github.com/users/pbielicki","html_url":"https://github.com/pbielicki","followers_url":"https://api.github.com/users/pbielicki/followers","following_url":"https://api.github.com/users/pbielicki/following{/other_user}","gists_url":"https://api.github.com/users/pbielicki/gists{/gist_id}","starred_url":"https://api.github.com/users/pbielicki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pbielicki/subscriptions","organizations_url":"https://api.github.com/users/pbielicki/orgs","repos_url":"https://api.github.com/users/pbielicki/repos","events_url":"https://api.github.com/users/pbielicki/events{/privacy}","received_events_url":"https://api.github.com/users/pbielicki/received_events","type":"User","site_admin":false},"created_at":"2015-02-02T13:19:46Z","updated_at":"2015-02-02T13:19:46Z","body":"@Path(\"filterEvents\")\r\n@Api(value = \"/filterEvents\", description = \"Services dealing with EventType filtering.\")\r\npublic interface EventFilterResource {\r\n\r\n  @POST\r\n  @Path(\"/event\")\r\n  @Produces({ MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML })\r\n  @Consumes({ MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML })\r\n  @ApiOperation(value = \"Post a set of EventType on given impacted entities.\", response = EventType.class)\r\n  public MyResponse<MyResponse<EventType>> processEventFliter(\r\n      @ApiParam(value = \"Set of EventType and impacted entities.\") @Valid MyEventRequest<EventType> events);\r\n"}}