import os from pathlib import Path import pytest @pytest.fixture def examples_dir(): """Return the path to the examples directory.""" return Path(__file__).parent.parent / "examples" @pytest.fixture def sample_spec_path(examples_dir): """Return the path to a sample OpenAPI spec for testing.""" return examples_dir / "sample_api.yaml"