diff --git a/packages/openapi-to-graphql/README.md b/packages/openapi-to-graphql/README.md index 29a1cded..942da032 100644 --- a/packages/openapi-to-graphql/README.md +++ b/packages/openapi-to-graphql/README.md @@ -244,11 +244,11 @@ OpenAPI-to-GraphQL.createGraphQLSchema(oas, { ## Custom Type and Field Names and Enum Values -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. +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. 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. -`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. +`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. ```diff {