Module common

Module common 

Source
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§

HandlerInfo
Information extracted from handler comments.

Traits§

FrameworkParser
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.