Skip to content

Commit

Permalink
Optional options
Browse files Browse the repository at this point in the history
Signed-off-by: Alan Cha <Alan.cha1@ibm.com>
  • Loading branch information
Alan-Cha authored and ErikWittern committed Jul 12, 2019
1 parent b59db7b commit 54b2f1e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/openapi-to-graphql/README.md
Expand Up @@ -137,7 +137,7 @@ Notice that the slashes in the path `/favoriteBooks/{name}` must be escaped with
The `createGraphQlSchema` function takes an optional `options` object as a second argument:

```javascript
createGraphQLSchema(oas, options)
createGraphQLSchema(oas[, options])
```

The options object can contain the following properties:
Expand Down Expand Up @@ -176,7 +176,7 @@ Authentication options:

- `tokenJSONpath` (type: `string`, default: `undefined`): Used to pass the [JSONPath](http://goessner.net/articles/JsonPath/) of the OAuth token in the GraphQL context. To see more details, click [here](./README.md#authorization).

- `sendOAuthTokenInQuery` (type: `boolean`, default: `false`): If set to true, the OAuth token extracted from the provided `tokenJSONpath` will be sent as an `access_token` query parameter (instead of in a header).
- `sendOAuthTokenInQuery` (type: `boolean`, default: `false`): If set to true, the OAuth token extracted from the provided `tokenJSONpath` will be sent as an `access_token` query parameter (instead of in the header).
***

Logging options:
Expand Down

0 comments on commit 54b2f1e

Please sign in to comment.