Skip to content

Commit 182ccaa

Browse files
DominikB2014claude
andcommitted
ref(explore): exclude internal expand param from OpenAPI spec
The expand=context param is internal-only (gated behind data-browsing-attribute-context), so hide it from the public spec while keeping it functional. Co-Authored-By: Claude <noreply@anthropic.com>
1 parent a299662 commit 182ccaa

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/sentry/api/endpoints/organization_trace_item_attributes.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,9 @@ def get_result(self, limit, cursor=None):
194194
many=True,
195195
type=str,
196196
enum=["context"],
197+
# Internal-only for now: gated behind the data-browsing-attribute-context
198+
# feature, so exclude it from the public OpenAPI spec.
199+
exclude=True,
197200
description=(
198201
"Optional fields to expand. Pass `context` to include the sentry "
199202
"conventions metadata (brief, examples, deprecation, etc.) for "

0 commit comments

Comments
 (0)