Skip to the content.

ADR-0012: Code Generation

Decision: OpenAPI spec → connector scaffold, not a full auto-implementation.

What the generator does:

What you still need to implement:

Registration after generation:

# gnat/clients/__init__.py
from gnat.connectors.myplatform.client import MyplatformClient
CLIENT_REGISTRY["myplatform"] = MyplatformClient

# gnat/async_client/connectors.py — add async mirror
# gnat/async_client/client.py — add to _build_async_registry()

Licensed under the Apache License, Version 2.0