-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathtransform.yaml
More file actions
46 lines (46 loc) · 1.34 KB
/
transform.yaml
File metadata and controls
46 lines (46 loc) · 1.34 KB
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
openapi: 3.0.0
info:
title: Transform Service
description: API generated from Python function schema
version: 1.0.0
paths:
/transform:
post:
summary: Transform a list of records by remapping keys
description: Transform a list of records by remapping keys.
operationId: transform
x-function:
language: python
namespace: salesforceOrg
package: dataCloudPkg
name: transformFn
prototype: 'transform(request: Dict[str, List[Dict[str, str]]]) -> Dict[str,
List[Dict[str, str]]]'
description: Will perform transform operation
requestBody:
required: true
content:
application/json:
schema:
type: object
additionalProperties:
type: array
items:
type: object
additionalProperties:
type: string
responses:
'200':
description: Successful response
content:
application/json:
schema:
type: object
additionalProperties:
type: array
items:
type: object
additionalProperties:
type: string
'400':
description: Invalid input