Expand description
Common parsing utilities for extracting route information.
This module provides shared functions for parsing route parameters, handler comments, and generating default responses.
Structs§
- Handler
Info - Information extracted from handler comments.
Traits§
- Framework
Parser - Trait for implementing framework-specific route parsers.
Functions§
- extract_
path_ params - Extracts path parameters from a route path.
- generate_
default_ responses - Generates default HTTP response definitions.
- normalize_
method - Normalizes HTTP method to uppercase.
- parse_
handler_ comments - Parses handler comments to extract documentation information.