Skip to content

Commit e9776fa

Browse files
committed
Add readme doc
1 parent b012690 commit e9776fa

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/openapi-to-graphql/README.md

+1
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,7 @@ Schema options:
171171

172172
- `createSubscriptionsFromCallbacks` (type: `boolean`, default: `false`): Generates subscription fields from [callback objects](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.2.md#CallbackObject). The keys ([runtime expressions](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.2.md#runtimeExpression)) of the callback objects will be interpolated as the topic of a publish/subscription connection using [graphql-subscriptions](https://github.com/apollographql/graphql-subscriptions). Read the [doc](./docs/subscriptions.md) for explanations and examples regarding its usage.
173173

174+
- `graphQLSchemaPrefix` (type: `string`, default: `''`): For add a constants prefix for each generated GraphQL schema, i.e. passing `CustomName` for this option, generated `Product` type will be change to `CustomNameProduct`.
174175
***
175176

176177
Resolver options:

0 commit comments

Comments
 (0)