I am facing issue with the Swagger endpoints like DELETE,POST which i don’t want to expose in the swagger which is coming from the SPring repo
Here is the code :
@JPARepositroryBean
public interface pageSorting extends PagingAndSortingRepository<T,>
@RestResource(exported=false)
@ApiOperation(hidden=true)
<S extends T> S save(S entity);
Even after adding the annotation like
@RestResource(exported=false)
@ApiOperation(hidden=true)
I see the PUT,POST, and DELETE endpoints in the swagger.
i add the annotations for Rest resources and Api operations
I want to get Rid of DELETE,POST,PUT endpoint in the swagger