We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1a7254c + 796a4f0 commit 1507c18Copy full SHA for 1507c18
transforms/filter/api.graphql
@@ -7,10 +7,11 @@ type Customer {
7
id: ID
8
name: String
9
}
10
+
11
type Query {
- customer(name: String): [Customer]
12
+ customer(name: String!): [Customer]
13
@rest(
- endpoint: "https://json2api-customers-zlwadjbovq-uc.a.run.app/customers"
14
+ endpoint: "https://sample-api.us-east-a.apiconnect.automation.ibm.com/api/customers"
15
ecmascript: """
16
function transformREST(s) {
17
var name = get('name')
0 commit comments