Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

chore: mark billing client generated files and add code owners (#45174)

yyhab3b0be88d8b
diff --git a/.gitattributes b/.gitattributes
index 8cf59a64843..fe4753707c1 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -10,6 +10,13 @@
# `pnpm tree:check` in CI does not trip on CRLF rewrites.
*.generated.ts text eol=lf
+# The billing client is generated from the billing service OpenAPI; its
+# `--check` compares bytes, so keep LF. transport.py and __init__.py are hand-written.
+/api/services/billing_client/billing.openapi.json text eol=lf
+/api/services/billing_client/saas.openapi.json text eol=lf
+/api/services/billing_client/billing.py text eol=lf
+/api/services/billing_client/saas.py text eol=lf
+
# Skill scripts run on every platform, so keep LF line endings.
/skills/** text=auto eol=lf
@@ -18,3 +25,7 @@
/api/openapi/markdown/** linguist-generated
*.generated.ts linguist-generated
/oxlint-suppressions.json linguist-generated
+/api/services/billing_client/billing.openapi.json linguist-generated
+/api/services/billing_client/saas.openapi.json linguist-generated
+/api/services/billing_client/billing.py linguist-generated
+/api/services/billing_client/saas.py linguist-generated
diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS
index 850799b7bf6..ddf4aac9eb3 100644
--- a/.github/CODEOWNERS
+++ b/.github/CODEOWNERS
@@ -99,6 +99,8 @@
/api/tests/**/tasks/test_async_workflow_tasks.py @Mairuis
/api/tests/**/services/test_billing_service.py @zyssyz123
/api/tests/**/controllers/console/billing/ @zyssyz123
+/api/tests/**/services/billing_client/ @zyssyz123
+/api/tests/**/dev/test_generate_billing_client.py @zyssyz123
/api/tests/**/configs/enterprise/ @GareArc
/api/tests/**/services/enterprise/ @GareArc
/api/tests/**/services/test_feature_service.py @GareArc
@@ -188,6 +190,8 @@
# Backend - Billing
/api/services/billing_service.py @zyssyz123
/api/controllers/console/billing/ @zyssyz123
+/api/services/billing_client/ @zyssyz123
+/api/dev/generate_billing_client.py @zyssyz123
# Backend - Enterprise
/api/configs/enterprise/ @GareArc