Skip to content

@PathParam on interfaces #1584

@soltani-a

Description

@soltani-a

Doesn't recognize the Long param and show a String body param.

Interface :

    public interface RepositoryService<T extends AbstractModel> {
    @Path("/{idEntity}")
    @DELETE
    @ApiOperation(value = "Logical delete an entity",
            notes = "Must provide an id for the entity to delete")
    Response deleteEntity(@PathParam("idEntity") Long idEntity);
    }

Implementation :

    @Path("catalogueService")
    @Api(tags = "Catalogue Service WS")
    public class CatalogueServiceImpl implements RepositoryService{

    @Override
    public Response deleteEntity(Long idEntity) {
       ....
    }
    }

Any ideas ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions