Squash-merge lib-standardisation: adopt repo standards across packaging, tooling, docs, and CI. - standardize pyproject.toml (canonical packaging, lint config, extras, GSDFC pydoclint) - add py.typed marker, modernize type hints and Google-style docstrings - nest generated docs under docs/lib and docs/mcp; add hand-written wiki - adopt standard Type A PyPI CI pipeline (tag==version guard + quality gate) - promote generated CHANGELOG.md; bump version to 0.0.7
14 lines
402 B
Python
14 lines
402 B
Python
from dataclasses import dataclass
|
|
from pathlib import Path
|
|
from typing import Any
|
|
|
|
@dataclass
|
|
class OpenAPIMetadata:
|
|
site_name: str
|
|
site_description: str | None
|
|
site_author: str | None
|
|
|
|
def load_openapi_spec(spec_path: Path) -> dict[Any, Any]: ...
|
|
def derive_metadata(spec: dict[Any, Any]) -> OpenAPIMetadata: ...
|
|
def generate_api_sources(spec: dict[Any, Any], docs_dir: Path) -> None: ...
|