Skip to main content

load_specs_from_directory

Function load_specs_from_directory 

Source
pub async fn load_specs_from_directory(
    dir: &Path,
) -> Result<Vec<(PathBuf, OpenApiSpec)>>
Expand description

Load all OpenAPI spec files from a directory

Discovers all .json, .yaml, .yml files recursively, sorts them lexicographically for deterministic ordering, and loads each spec.