I'm writing a dropwizard app. I want to have something similar to this

but what I'm having is only this (it doesn't have the json request body text form)

my annotations are like these
@POST
@UnitOfWork
@Consumes(MediaType.APPLICATION_JSON)
@ApiOperation(value = "Create a new shop", response = long.class, consumes="application/json")
@ApiResponses(value = {
@ApiResponse(code = 406, message = R.ERROR_SHOP_NAME_EXISTED),
@ApiResponse(code = 404, message = R.ERROR_USER_NOT_FOUND),
@ApiResponse(code = 201, message = "shop id") })
public Response create(Shop shop) {
How do I make it work like the first picture? Thanks.
I'm writing a dropwizard app. I want to have something similar to this

but what I'm having is only this (it doesn't have the json request body text form)

my annotations are like these
How do I make it work like the first picture? Thanks.