From 6002e963bfdf31f212ab43e4d4fedda3f5ffa09e Mon Sep 17 00:00:00 2001 From: Jonathan He Date: Tue, 29 Aug 2023 10:53:00 -0400 Subject: [PATCH] add 2023-03-01 api version (#76) --- rust-toolchain.toml | 2 +- services/autorust/codegen/examples/avs_routes.rs | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/rust-toolchain.toml b/rust-toolchain.toml index 68c5cf0e01..b2eef285c7 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,3 +1,3 @@ [toolchain] -channel = "1.63.0" +channel = "1.71.1" components = [ "rustfmt", "clippy" ] diff --git a/services/autorust/codegen/examples/avs_routes.rs b/services/autorust/codegen/examples/avs_routes.rs index e714e54c29..984ce34524 100644 --- a/services/autorust/codegen/examples/avs_routes.rs +++ b/services/autorust/codegen/examples/avs_routes.rs @@ -30,6 +30,11 @@ fn main() -> Result<()> { output_folder: "../../../avs/src/fct/mock_api/src/v2022_05_01", }); + configs.push(MainConfig { + input_file: "../../../azure-rest-api-specs-pr/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-03-01/vmware.json", + output_folder: "../../../avs/src/fct/mock_api/src/v2023_03_01", + }); + for config in configs { run( &CrateConfig {