How to define swagger annotation for json payload
问题 how to define swagger annotation for this example post API.TenantConfiguration is getting as a json payload. @Consumes({ "application/json", "application/xml" }) @POST public Message configureSettings(TenantConfiguration configuration) throws AndroidAgentException { ..................... } 回答1: I found a solution to annotate json consuming Jax-rs Apis.It's working properly. @POST @ApiOperation( consumes = MediaType.APPLICATION_JSON, httpMethod = "POST", value = "Configuring Android Platform