pub fn analyze_metadata(metadata: &CodeGenMetadata) -> Result<GenerationPlan>Expand description
Analyze collected metadata and create a generation plan.
Methods with missing HTTP annotations are excluded from the plan and recorded in
GenerationPlan::skipped_methods so callers can distinguish “zero methods generated”
from “all methods were silently dropped”.
Hierarchy derivation uses a two-phase cross-service algorithm:
- Build all service plans (hierarchy empty).
- Construct a global parent map across all services, then assign depth-sorted hierarchies.