Skip to main content

create_attribute_read_routes

Function create_attribute_read_routes 

Source
pub fn create_attribute_read_routes(service: Arc<AttributeService>) -> Router
Expand description

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

Safe for public, unauthenticated exposure (e.g., reference data). Mutations must be served separately via create_attribute_write_routes, typically wrapped in an auth middleware layer.