Module api_schema

Source
Expand description

§Generate an API schema from an sdl.

Structs§

ApiSchemaError
An error which occurred during JavaScript api schema generation.
ApiSchemaOptions
Options for generating the API schema.

Functions§

api_schema
The api_schema function receives a [string] representing the SDL and invokes JavaScript functions to parse, convert to apiSchema and print to string.

Type Aliases§

ApiSchemaResult
The type returned when invoking api_schema