There are a problem, when we use Jersey2 resource with implicitly dto 
usage. 

Example:

    @POST
    @ApiOperation(value = "Create pet", response = PetDTO.class)
    public Pet create(Pet pet) throws IOException {
        return this.petService.save(pet);
    }


In this example we implicitly get petDto as param, and than map it to entity.

The question is, is the way to how to configure swagger to document PetDTO as 
api param, not Pet?

-- 
You received this message because you are subscribed to the Google Groups 
"Swagger" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to swagger-swaggersocket+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to