GraphQL follows a strong type system for defining APIs. Schemas enable front end and back end teams to work independently, whereas REST does not follow a schema or type system.
REST has a wide range of options for automated documentation like API Blueprint and OpenAPI, whereas GraphQL has a single tool, GraphiQL.
Comparison based on Error Detection
GraphQL complicates the handling of HTTP status codes which are used to identify errors, while REST makes it easy to identify errors using HTTP status codes.