Attributes
Attributes let you customize code generation behavior per-organization or per-service. Generators declare which attributes they depend on, and API Builder passes the matching values automatically.
⚙ How Attributes Work
- Globally unique — Each attribute has a URL-friendly name and optional description.
- Organization-level defaults — Set attribute values at the org level and they cascade to all applications in that organization.
- Generator integration — A code generator declares the attribute names it depends on. API Builder sends matching values when invoking the generator.
✦ Setting Attribute Values
To configure attributes for your organization:
- Navigate to your organization
- Click "Org Details" in the left nav
- Select "Org Attributes"
- Set values for the attributes used by your generators
See which generators support attributes.
View Generators