graphql

package
v2.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 27, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsGraphQLSDL

func IsGraphQLSDL(data []byte) bool

IsGraphQLSDL checks if the data looks like a GraphQL schema.

func ParseSDL

func ParseSDL(path string) (*spec.APISpec, error)

ParseSDL reads a GraphQL SDL file and converts it to an APISpec.

func ParseSDLBytes

func ParseSDLBytes(source string, data []byte) (*spec.APISpec, error)

ParseSDLBytes parses SDL bytes from a file path or URL-like source identifier.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL