-
Notifications
You must be signed in to change notification settings - Fork 0
/
overlay.yaml
57 lines (56 loc) · 2.01 KB
/
overlay.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
overlay: 1.0.0
info:
title: Overlay epilot entity mapping to make a entity mapping resource
version: 0.0.1
actions:
- target: $
update:
x-speakeasy-retries:
strategy: backoff
backoff:
initialInterval: 5000 # 5 seconds
maxInterval: 60000 # 60 seconds
maxElapsedTime: 3600000 # 5 minutes
exponent: 1.5
statusCodes:
- 5XX
retryConnectionErrors: true
- target: $["paths"]["/v2/mappings/{id}"]["get"]
update:
x-speakeasy-entity-operation: EntityMapping#get
- target: $["paths"]["/v2/mappings/{id}"]["put"]
update:
x-speakeasy-entity-operation: EntityMapping#create
- target: $["components"]["schemas"]["MappingConfigV2"]
update:
x-speakeasy-entity: EntityMapping
- target: $["components"]["schemas"]["MappingConfigCommonFields"]["properties"]["created_at"]
remove: true
- target: $["components"]["schemas"]["MappingConfigCommonFields"]["properties"]["updated_at"]
remove: true
- target: $["components"]["schemas"]["MappingConfigCommonFields"]["properties"]["created_by"]
remove: true
- target: $["components"]["schemas"]["MappingConfigCommonFields"]["properties"]["last_updated_by"]
remove: true
- target: $["components"]["schemas"]["MappingConfigV2"]["allOf"][1]["properties"]["org_id"]
remove: true
- target: $["components"]["schemas"]["MappingAttributeV2"]
remove: true
- target: $["components"]["schemas"]
update:
MappingAttributeV2: {}
- target: $["components"]["schemas"]["TargetConfig"]["properties"]["conditionMode"]
remove: true
- target: $["components"]["schemas"]["TargetConfig"]["properties"]
update:
conditionMode: {}
- target: $["components"]["schemas"]["Entity"]
remove: true
- target: $["components"]["schemas"]
update:
Entity: {}
- target: $["components"]["schemas"]["TargetConfig"]["properties"]["conditions"]
remove: true
- target: $["components"]["schemas"]["TargetConfig"]["properties"]
update:
conditions: {}