зеркало из https://github.com/Azure/autorest.az.git
change for connect
This commit is contained in:
Родитель
e56dcef786
Коммит
c1609f51fd
11
README.md
11
README.md
|
@ -4,21 +4,18 @@ See documentation [here](doc/00-overview.md)
|
|||
|
||||
``` yaml
|
||||
use-extension:
|
||||
"@autorest/modelerfour": "~4.1.60"
|
||||
#"@autorest/cli.common": "/home/qiaozha/code/autorest.cli.common/"
|
||||
"az": "$(this-folder)"
|
||||
|
||||
pipeline-model: v3
|
||||
|
||||
pipeline:
|
||||
modelerfour:
|
||||
input: openapi-document/multi-api/identity
|
||||
az/generate:
|
||||
plugin: az
|
||||
input: modelerfour
|
||||
az:
|
||||
input: cli.common
|
||||
output-artifact: source-file-cli
|
||||
|
||||
az/emitter:
|
||||
input: generate
|
||||
input: az
|
||||
scope: scope-here
|
||||
|
||||
scope-here:
|
||||
|
|
|
@ -26,7 +26,7 @@ extension.Add("az", async autoRestApi => {
|
|||
|
||||
autoRestApi.Message({
|
||||
Channel: Channel.Warning,
|
||||
Text: "Hello World! The `debug` flag is " + (isDebugFlagSet ? "set" : "not set"),
|
||||
Text: "Hello World az! The `debug` flag is " + (isDebugFlagSet ? "set" : "not set"),
|
||||
});
|
||||
|
||||
autoRestApi.Message({
|
||||
|
@ -41,7 +41,7 @@ extension.Add("az", async autoRestApi => {
|
|||
|
||||
// emit a file (all input files concatenated)
|
||||
|
||||
autoRestApi.WriteFile("myfolder/concat.txt", inputFiles.join("\n---\n"));
|
||||
autoRestApi.WriteFile("myfolder/concataz.txt", inputFiles.join("\n---\n"));
|
||||
}
|
||||
catch (e)
|
||||
{
|
||||
|
|
Загрузка…
Ссылка в новой задаче