@autorest/go
Version:
AutoRest Go Generator
10 lines • 584 B
JavaScript
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
// Creates the content in _metadata.json
export function generateMetadataFile(codeModel) {
// Return the formatted JSON string
return JSON.stringify(codeModel.metadata, null, 2) + '\n';
}
//# sourceMappingURL=metadata.js.map