File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change 1+ # This overlay removes the RESOURCE_TYPE_ANY value as an available option for the
2+ # resource_type field in the CreateACLRequest schema.
3+ overlay : 1.0.0
4+ info :
5+ title : Remove RESOURCE_TYPE_ANY from Create ACL Request Body
6+ version : 1.0.0
7+
8+ actions :
9+ # Replace the $ref with an inline enum that excludes RESOURCE_TYPE_ANY
10+ - target : " $.components.schemas.CreateACLRequest.properties.resource_type"
11+ update :
12+ description : |-
13+ The type of resource (topic, consumer group, etc.) this
14+ ACL targets.
15+ enum :
16+ - " RESOURCE_TYPE_TOPIC"
17+ - " RESOURCE_TYPE_GROUP"
18+ - " RESOURCE_TYPE_CLUSTER"
19+ - " RESOURCE_TYPE_TRANSACTIONAL_ID"
20+ - " RESOURCE_TYPE_DELEGATION_TOKEN"
21+ - " RESOURCE_TYPE_USER"
22+ - " RESOURCE_TYPE_REGISTRY"
23+ - " RESOURCE_TYPE_SUBJECT"
24+ type : " string"
You can’t perform that action at this time.
0 commit comments