Skip to content

Commit 0787c76

Browse files
committed
fix(cache): remove @SwaggerCompliant to avoid annotation validation on existing endpoints
Adding @SwaggerCompliant triggers compliance tests that require @operation and @parameter on ALL endpoints in the class. The existing legacy endpoints lack these annotations and we chose not to modify them. Our new endpoints already have full Swagger annotations independently.
1 parent e117b27 commit 0787c76

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

dotCMS/src/main/java/com/dotcms/rest/api/v1/system/cache/CacheResource.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
import com.dotcms.rest.ResponseEntityView;
77
import com.dotcms.rest.WebResource;
88
import com.dotcms.rest.annotation.NoCache;
9-
import com.dotcms.rest.annotation.SwaggerCompliant;
109
import com.dotmarketing.business.APILocator;
1110
import com.dotmarketing.business.CacheLocator;
1211
import com.dotmarketing.business.DotStateException;
@@ -53,7 +52,6 @@
5352
* @author jsanca
5453
*/
5554
@Path("/v1/caches")
56-
@SwaggerCompliant(value = "System maintenance APIs", batch = 3)
5755
@Tag(name = "Cache Management", description = "Cache provider management and operations")
5856
public class CacheResource {
5957

0 commit comments

Comments
 (0)