package com.eactive.httpmockserver.api.repository;

import com.eactive.httpmockserver.api.entity.MockRoute;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

public interface MockRouteRepository extends JpaRepository<MockRoute, Long>, JpaSpecificationExecutor<MockRoute> {

    long countByMethodAndPathPattern(String method, String pathPattern);
}
