Skip to content
FeedbackDashboard
Enterprise features

Code owners

Automatically generate CODEOWNERS files.

Stainless can automatically generate complete, up-to-date CODEOWNERS files every time we generate your SDKs, Terraform providers, and other tools.

Your CODEOWNERS files map specific endpoints, schemas, and service domains to the correct reviewers and enforces required review gates in GitHub using a single source of truth. Automatically generated CODEOWNERS files have several advantages:

  • Accelerate reviews with automatic routing to appropriate teams
  • Ensure accurate ownership without manual maintenance
  • Prevent scaling issues across dozens of SDK and provider repositories
  • Contributes to some compliance and audit requirements

Once you have code owners enabled on your account, add a code_owners directive in your Stainless config:

stainless.yml
code_owners:
'*': ['@acme/sdk-team-1']
'src/**': ['@acme/sdk-team-2']

For more information, contact sales.