Page Contents
Home > @loopback/graphql > GraphQLServer > exportGraphQLSchema
GraphQLServer.exportGraphQLSchema() method
Signature:
exportGraphQLSchema(outFile?: string, log?: {
(...data: any[]): void;
(message?: any, ...optionalParams: any[]): void;
}): Promise<void>;
Parameters
Parameter | Type | Description |
---|---|---|
outFile | string | (Optional) |
log | { (…data: any[]): void; (message?: any, …optionalParams: any[]): void; } | (Optional) |
Returns:
Promise<void>