Skip to content
This repository has been archived by the owner on May 6, 2022. It is now read-only.

Commit

Permalink
docs for generating proxies from gql
Browse files Browse the repository at this point in the history
  • Loading branch information
srinandan committed Apr 7, 2022
1 parent dbc285a commit d6c162d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,14 @@ x-google-ratelimit:
See this [OAS document](./test/petstore-ext1.yaml) for examples
## Generating API Proxies from GraphQL Schemas
apigeecli allows the user to generate Apigee API Proxy bundles from a GraphQL schema. When generating a proxy, consider the following flags:
* `--basepath`: Specify a basePath for the GraphQL proxy
* `--skip-policy=false`: By default the GraphQL policy is added to the proxy (to validate API requests). By setting this to false, schema validation is not enabled.
* `--target-url-ref`: Specify a target endpoint location variable. For ex: `--target-url-ref=propertyset.gql.url` implies the GraphQL target location is available in an environment scoped property set called `gql` and the key is `url`.

___

## Available Commands
Expand Down

0 comments on commit d6c162d

Please sign in to comment.