I'm just getting started with and can't build your sample. It also fails using --typescript sooo
my setup:
pwsh 7.2.1, VSCode Insiders, Autorest --latest, nodejs 17.4.0
error:
❯ autorest --powershell --input-file:xkcd.yaml
SourceMapConsumer.initialize is a no-op when running in node.js
AutoRest code generation utility [cli version: 3.5.1; node: v17.4.0]
(C) 2018 Microsoft Corporation.
https://aka.ms/autorest
SourceMapConsumer.initialize is a no-op when running in node.js
info | Loading AutoRest core C:\Users\bchapin\.autorest\@autorestcore@3.7.4\nodemodules\@autorest\core\dist (3.7.4)
info |
The default version of @autorest/powershell has been bumped from 2.1+ to 3.0+.
> If you still want to use 2.1+ version, please specify it with --use:@autorest/powershell@2.1.{x}, e.g 2.1.401.
info | Installing AutoRest extension '@autorest/powershell' (~3.0.0 -> 3.0.472)
installing... [========================================] 100% | 46/46
info | Installed AutoRest extension '@autorest/powershell' (~3.0.0->3.0.472)
info | Installing AutoRest extension '@autorest/modelerfour' (4.15.414 -> 4.15.414)
installing... [========================================] 100% | 2/2
info | Installed AutoRest extension '@autorest/modelerfour' (4.15.414->4.15.414)
error | schema_violation | Schema violation: must match format "uri" (externalDocs > url)
format: uri
- file:///C:/lucybot/xkcd.yaml:25:3
fatal | Process() cancelled due to failure
error | [OperationAbortedException] Error occurred. Exiting.
error | Error: [OperationAbortedException] Error occurred. Exiting.
I'm just getting started with and can't build your sample. It also fails using --typescript sooo
my setup: pwsh 7.2.1, VSCode Insiders, Autorest --latest, nodejs 17.4.0
error: