Skip to content

Commit 6dbbecb

Browse files
committed
docs(readme): added explanation about schema transformation
1 parent 2e29d36 commit 6dbbecb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ A service endpoint that uses the Swagger/OpenAPI specification contains a defini
3131
```
3232
An example for the petstore endpoint can be found [here](./example/petstore.json).
3333

34-
This endpoint definition is transformed into a GraphQL schema, with all the paths from the endpoint translated into queries and mutations. This schema looks like this:
34+
This endpoint definition is transformed into a GraphQL schema, with all the paths from the endpoint translated into queries and mutations. The query and mutation names are based on the unique `operationName` found in the definition for each path. This schema looks like this:
3535
```graphql
3636
type Query {
3737
# GET /pet/findPetsByStatus

0 commit comments

Comments
 (0)