Skip to content

Commit 1507c18

Browse files
authored
Merge branch 'main' into new/jsonata-transform
2 parents 1a7254c + 796a4f0 commit 1507c18

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

transforms/filter/api.graphql

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,11 @@ type Customer {
77
id: ID
88
name: String
99
}
10+
1011
type Query {
11-
customer(name: String): [Customer]
12+
customer(name: String!): [Customer]
1213
@rest(
13-
endpoint: "https://json2api-customers-zlwadjbovq-uc.a.run.app/customers"
14+
endpoint: "https://sample-api.us-east-a.apiconnect.automation.ibm.com/api/customers"
1415
ecmascript: """
1516
function transformREST(s) {
1617
var name = get('name')

0 commit comments

Comments
 (0)