Skip to main content

create_quant_read_routes

Function create_quant_read_routes 

Source
pub fn create_quant_read_routes(service: Arc<QuantService>) -> Router
Expand description

Create Axum router with only the read (GET) endpoints for Quant.

Each route requires the entity’s read permission, so it needs an authenticated caller. Mutations must be served separately via create_quant_write_routes, typically wrapped in an auth middleware layer.