This commit is contained in:
qiaozha 2019-12-19 17:20:38 +08:00
Родитель e56dcef786
Коммит c1609f51fd
2 изменённых файлов: 6 добавлений и 9 удалений

Просмотреть файл

@ -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)
{