Skip to content

Commit 3e2eb50

Browse files
authored
Typo
1 parent 7bbe9d0 commit 3e2eb50

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/openapi-to-graphql/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -244,11 +244,11 @@ OpenAPI-to-GraphQL.createGraphQLSchema(oas, {
244244

245245
## Custom Type and Field Names and Enum Values
246246

247-
The `x-graphql-type-name`, `x-graphql-field-name`, and `x-graphql-enum-mapping` OAS extensions can be used to configure the types and field names as well as enum values.
247+
The `x-graphql-type-name`, `x-graphql-field-name`, and `x-graphql-enum-mapping` OAS extensions can be used to configure type and field names as well as enum values.
248248

249249
The type and field names and enum values that OpenAPI-to-GraphQL generates may not be adequate or may not be consistent over different versions so this is a way to guarantee consistency.
250250

251-
`x-graphql-type-name` and `x-graphql-field-name` can be added to JSON schema to change the type name as well as change a field name. OpenAPI-to-GraphQL will also use `x-graphql-type-name` to name input object types by appending `Input` to the end of the name.
251+
`x-graphql-type-name` and `x-graphql-field-name` can be added to a JSON schema to change the type name as well as change a field name. OpenAPI-to-GraphQL will also use `x-graphql-type-name` to name input object types by appending `Input` to the end of the name.
252252

253253
```diff
254254
{

0 commit comments

Comments
 (0)