You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Autorest 3.6.2 caused make generate-bicep-types to hang, for now we are hard coding 3.6.1. This is where it hangs.
\033[34;1m=>\033[0m Detecting node...
\033[34;1m=>\033[0m OK
\033[34;1m=>\033[0m Generating OpenAPI schema manifest...
go run cmd/autorest-schema-gen/main.go \
--output schemas/rest-api-specs/radius.json \
`# We can't just do pkg/radrp/schema/*.json because we want to exclude resource-types.json` \
pkg/radrp/schema/common-types.json \
pkg/radrp/schema/application.json \
pkg/radrp/schema/traits.json \
pkg/radrp/schema/*/*.json
\033[34;1m=>\033[0m Generating Bicep extensibility types from OpenAPI specs...
\033[34;1m=>\033[0m Build autorest.bicep...
cd hack/bicep-types-radius/src/autorest.bicep; \
npm ci && npm run build; \
cd ../generator; \
echo "Run generator from hack/bicep-types-radius/src/generator dir"; \
npm ci && npm run generate -- --specs-dir ../../../../swagger
npm WARN prepare removing existing node_modules/ before installation
> [email protected] preinstall C:\Users\jukotali\go\src\github.com\azure\radius\hack\bicep-types-radius\src\autorest.bicep\node_modules\autorest
> node ./.scripts/preinstall-check
added 444 packages in 9.743s
> @autorest/[email protected] build C:\Users\jukotali\go\src\github.com\azure\radius\hack\bicep-types-radius\src\autorest.bicep
> tsc -p .
Run generator from hack/bicep-types-radius/src/generator dir
npm WARN prepare removing existing node_modules/ before installation
> [email protected] preinstall C:\Users\jukotali\go\src\github.com\azure\radius\hack\bicep-types-radius\src\generator\node_modules\autorest
> node ./.scripts/preinstall-check
added 173 packages in 6.688s
> @autorest/[email protected] generate C:\Users\jukotali\go\src\github.com\azure\radius\hack\bicep-types-radius\src\generator
> ts-node src/cmd/generate "--specs-dir" "../../../../swagger"
AutoRest code generation utility [cli version: 3.6.1; node: v14.15.1]
(C) 2018 Microsoft Corporation.
https://aka.ms/autorest
info | Loading AutoRest core 'C:\Users\jukotali\go\src\github.com\azure\radius\hack\bicep-types-radius\src\generator\node_modules\@autorest\core\dist' (3.8.3)
info | Loading local AutoRest extension '@autorest/bicep' (C:/Users/jukotali/go/src/github.com/azure/radius/hack/bicep-types-radius/src/autorest.bicep)
info | Loading AutoRest extension '@autorest/modelerfour' (*->4.24.0)
info | Processing batch task - {"tag":"applications.core-2022-03-15-privatepreview"} .
info | Loading local AutoRest extension '@autorest/bicep' (C:/Users/jukotali/go/src/github.com/azure/radius/hack/bicep-types-radius/src/autorest.bicep)
info | Loading AutoRest extension '@autorest/modelerfour' (*->4.24.0)
warning | SkippedSemanticValidation | Semantic validation was skipped.
warning | PreCheck/SchemaMissingType | The schema 'IamProperties' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
- file:///C:/Users/jukotali/go/src/github.com/azure/radius/swagger/specification/applications/resource-manager/Applications.Core/preview/2022-03-15-privatepreview/containers.json:316:7
warning | PreCheck/SchemaMissingType | The schema 'ConnectionProperties' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
- file:///C:/Users/jukotali/go/src/github.com/azure/radius/swagger/specification/applications/resource-manager/Applications.Core/preview/2022-03-15-privatepreview/containers.json:341:7
warning | PreCheck/CheckDuplicateSchemas | Checking for duplicate schemas, this could take a (long) while. Run with --verbose for more detail.
Autorest 3.6.2 caused make generate-bicep-types to hang, for now we are hard coding 3.6.1. This is where it hangs.
AB#6954
The text was updated successfully, but these errors were encountered: