Page Contents

Home > @loopback/graphql > GraphQLServer > exportGraphQLSchema

GraphQLServer.exportGraphQLSchema() method

Signature:

exportGraphQLSchema(outFile?: string, log?: (message?: any, ...optionalParams: any[]) => void): Promise<void>;

Parameters

Parameter Type Description
outFile string (Optional)
log (message?: any, …optionalParams: any[]) => void (Optional)

Returns:

Promise<void>