Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions api/app/settings/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -567,6 +567,7 @@
"SegmentRuleTypeEnum": "segments.models.SegmentRule.RULE_TYPES",
"FeatureValueTypeEnum": ["integer", "string", "boolean"],
},
"COMPONENT_SPLIT_REQUEST": True,
}


Expand Down
5 changes: 5 additions & 0 deletions api/tests/integration/test_api_documentation.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from django.conf import settings
from django.test import Client


Expand All @@ -11,3 +12,7 @@ def test_api_documentation_specification_loads(
# Then
assert response.status_code == 200
assert response.json()["info"]["title"] == "Flagsmith API"


def test_spectacular_settings__component_split_request__is_enabled() -> None:
assert settings.SPECTACULAR_SETTINGS["COMPONENT_SPLIT_REQUEST"] is True
Loading