pub fn api_schema(
sdl: &str,
options: ApiSchemaOptions,
) -> Result<ApiSchemaResult, Error>
Expand description
The api_schema
function receives a [string
] representing the SDL and invokes JavaScript
functions to parse, convert to apiSchema and print to string.