From 08eebca7b7456d74ff94237167ba25b589890541 Mon Sep 17 00:00:00 2001 From: Rikki Gibson Date: Wed, 14 Mar 2018 11:46:29 -0700 Subject: [PATCH] Add node config to keyvault for Swagger to SDK (#2650) --- specification/keyvault/resource-manager/readme.md | 9 +++++---- .../keyvault/resource-manager/readme.nodejs.md | 11 +++++++++++ 2 files changed, 16 insertions(+), 4 deletions(-) create mode 100644 specification/keyvault/resource-manager/readme.nodejs.md diff --git a/specification/keyvault/resource-manager/readme.md b/specification/keyvault/resource-manager/readme.md index 4d3a66b472f3..1ab2720d52e9 100644 --- a/specification/keyvault/resource-manager/readme.md +++ b/specification/keyvault/resource-manager/readme.md @@ -1,5 +1,5 @@ # KeyVault - + > see https://aka.ms/autorest This is the AutoRest configuration file for KeyVault. @@ -7,7 +7,7 @@ This is the AutoRest configuration file for KeyVault. --- -## Getting Started +## Getting Started To build the SDK for KeyVault, simply [Install AutoRest](https://aka.ms/autorest/install) and in this folder, run: > `autorest` @@ -21,7 +21,7 @@ To see additional help and options, run: -### Basic Information +### Basic Information These are the global settings for the KeyVault API. ``` yaml @@ -65,10 +65,11 @@ swagger-to-sdk: - repo: azure-sdk-for-python - repo: azure-libraries-for-java - repo: azure-sdk-for-go + - repo: azure-sdk-for-node ``` -## C# +## C# These settings apply only when `--csharp` is specified on the command line. Please also specify `--csharp-sdks-folder=`. diff --git a/specification/keyvault/resource-manager/readme.nodejs.md b/specification/keyvault/resource-manager/readme.nodejs.md new file mode 100644 index 000000000000..aa00801fb69c --- /dev/null +++ b/specification/keyvault/resource-manager/readme.nodejs.md @@ -0,0 +1,11 @@ +## Node.js + +These settings apply only when `--nodejs` is specified on the command line. +Please also specify `--node-sdks-folder=`. + +``` yaml $(nodejs) +nodejs: + azure-arm: true + package-name: azure-arm-keyvault + output-folder: $(node-sdks-folder)/lib/services/keyVaultManagement/lib +```