From 10d351b13bbcccaa87d659e4a8ee600b8ae022ae Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Fri, 10 Apr 2026 20:33:14 +0000 Subject: [PATCH] chore(deps): update vendored OpenAPI specs --- .../policy/attributes/attributes.openapi.yaml | 7 ++++ .../policy/namespaces/namespaces.openapi.yaml | 7 ++++ specs/policy/selectors.openapi.yaml | 7 ++++ .../subject_mapping.openapi.yaml | 35 +++++++++++++++++++ 4 files changed, 56 insertions(+) diff --git a/specs/policy/attributes/attributes.openapi.yaml b/specs/policy/attributes/attributes.openapi.yaml index 0fcb66f7..52b94d8a 100644 --- a/specs/policy/attributes/attributes.openapi.yaml +++ b/specs/policy/attributes/attributes.openapi.yaml @@ -757,6 +757,13 @@ components: - SORT_DIRECTION_UNSPECIFIED - SORT_DIRECTION_ASC - SORT_DIRECTION_DESC + description: |- + Sorting direction shared across list APIs. + Notes: + - When a sort field is provided, UNSPECIFIED is treated as ASC. + - When the 'sort' field is omitted or the chosen sort 'field' is UNSPECIFIED, + the endpoint's request message defines the default ordering; see the + specific List* request docs. policy.SourceType: type: string title: SourceType diff --git a/specs/policy/namespaces/namespaces.openapi.yaml b/specs/policy/namespaces/namespaces.openapi.yaml index 4a5b7e35..e476236b 100644 --- a/specs/policy/namespaces/namespaces.openapi.yaml +++ b/specs/policy/namespaces/namespaces.openapi.yaml @@ -371,6 +371,13 @@ components: - SORT_DIRECTION_UNSPECIFIED - SORT_DIRECTION_ASC - SORT_DIRECTION_DESC + description: |- + Sorting direction shared across list APIs. + Notes: + - When a sort field is provided, UNSPECIFIED is treated as ASC. + - When the 'sort' field is omitted or the chosen sort 'field' is UNSPECIFIED, + the endpoint's request message defines the default ordering; see the + specific List* request docs. policy.SourceType: type: string title: SourceType diff --git a/specs/policy/selectors.openapi.yaml b/specs/policy/selectors.openapi.yaml index 4afe988b..9ed47cfa 100644 --- a/specs/policy/selectors.openapi.yaml +++ b/specs/policy/selectors.openapi.yaml @@ -11,6 +11,13 @@ components: - SORT_DIRECTION_UNSPECIFIED - SORT_DIRECTION_ASC - SORT_DIRECTION_DESC + description: |- + Sorting direction shared across list APIs. + Notes: + - When a sort field is provided, UNSPECIFIED is treated as ASC. + - When the 'sort' field is omitted or the chosen sort 'field' is UNSPECIFIED, + the endpoint's request message defines the default ordering; see the + specific List* request docs. policy.AttributeDefinitionSelector: type: object properties: diff --git a/specs/policy/subjectmapping/subject_mapping.openapi.yaml b/specs/policy/subjectmapping/subject_mapping.openapi.yaml index ce818161..5555a1c0 100644 --- a/specs/policy/subjectmapping/subject_mapping.openapi.yaml +++ b/specs/policy/subjectmapping/subject_mapping.openapi.yaml @@ -482,6 +482,13 @@ components: - SORT_DIRECTION_UNSPECIFIED - SORT_DIRECTION_ASC - SORT_DIRECTION_DESC + description: |- + Sorting direction shared across list APIs. + Notes: + - When a sort field is provided, UNSPECIFIED is treated as ASC. + - When the 'sort' field is omitted or the chosen sort 'field' is UNSPECIFIED, + the endpoint's request message defines the default ordering; see the + specific List* request docs. policy.SourceType: type: string title: SourceType @@ -501,6 +508,13 @@ components: - SUBJECT_MAPPING_OPERATOR_ENUM_IN - SUBJECT_MAPPING_OPERATOR_ENUM_NOT_IN - SUBJECT_MAPPING_OPERATOR_ENUM_IN_CONTAINS + policy.subjectmapping.SortSubjectConditionSetsType: + type: string + title: SortSubjectConditionSetsType + enum: + - SORT_SUBJECT_CONDITION_SETS_TYPE_UNSPECIFIED + - SORT_SUBJECT_CONDITION_SETS_TYPE_CREATED_AT + - SORT_SUBJECT_CONDITION_SETS_TYPE_UPDATED_AT policy.subjectmapping.SortSubjectMappingsType: type: string title: SortSubjectMappingsType @@ -1546,6 +1560,16 @@ components: title: pagination description: Optional $ref: '#/components/schemas/policy.PageRequest' + sort: + type: array + items: + $ref: '#/components/schemas/policy.subjectmapping.SubjectConditionSetsSort' + title: sort + maxItems: 1 + description: |- + Optional - CONSTRAINT: max 1 item + Default ordering when omitted or when the first entry's field is UNSPECIFIED: + created_at DESC, then id ASC (tie-breaker). title: ListSubjectConditionSetsRequest additionalProperties: false policy.subjectmapping.ListSubjectConditionSetsResponse: @@ -1641,6 +1665,17 @@ components: $ref: '#/components/schemas/common.MetadataMutable' title: SubjectConditionSetCreate additionalProperties: false + policy.subjectmapping.SubjectConditionSetsSort: + type: object + properties: + field: + title: field + $ref: '#/components/schemas/policy.subjectmapping.SortSubjectConditionSetsType' + direction: + title: direction + $ref: '#/components/schemas/policy.SortDirection' + title: SubjectConditionSetsSort + additionalProperties: false policy.subjectmapping.SubjectMappingsSort: type: object properties: