--- title: Code owners | Stainless description: Automatically generate CODEOWNERS files. --- Code owners are a paid feature. See our [pricing page](https://stainless.com/pricing) for details. Stainless can automatically generate complete, up-to-date [`CODEOWNERS` files](https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners) 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](mailto:sales@stainless.com).