nikitastupin / clairvoyance

Obtain GraphQL API schema even if the introspection is disabled
Apache License 2.0
967 stars 87 forks source link

Validate GraphQL JSON Schema #25

Closed Sim4n6 closed 1 year ago

Sim4n6 commented 2 years ago

I've got a Schema resulting from clairvoyance. It is validated using JSON.parse(). However, don't know what it is not working on GraphQL-voyager or Postman. The latter returns the following error Invalid Schema supplied: The provided input schema is syntactically invalid when TestSuite is performed for graphQL JSON schema.

Do you have any idea on a way to validate the GRAPHQL JSON schema ?

By the way, a little tool named graphql-path-enum is capable of finding a lot of paths with ease.