Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix DesktopVirtualization 2024-08-08-preview doc build #33070

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import "./models.tsp";
using TypeSpec.Rest;
using Azure.ResourceManager;
using TypeSpec.Http;
using TypeSpec.OpenAPI;

namespace Microsoft.DesktopVirtualization;
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,8 @@ import "@typespec/openapi";
import "@typespec/rest";
import "./models.tsp";

using TypeSpec.Rest;
using Azure.ResourceManager;
using TypeSpec.Http;
using TypeSpec.OpenAPI;

namespace Microsoft.DesktopVirtualization;
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import "./ApplicationGroup.tsp";
using TypeSpec.Rest;
using Azure.ResourceManager;
using TypeSpec.Http;
using TypeSpec.OpenAPI;

namespace Microsoft.DesktopVirtualization;
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import "./CustomOperations.tsp";
using TypeSpec.Rest;
using Azure.ResourceManager;
using TypeSpec.Http;
using TypeSpec.OpenAPI;

namespace Microsoft.DesktopVirtualization;
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import "./models.tsp";
using TypeSpec.Rest;
using Azure.ResourceManager;
using TypeSpec.Http;
using TypeSpec.OpenAPI;

namespace Microsoft.DesktopVirtualization;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import "./ApplicationGroup.tsp";
using TypeSpec.Rest;
using Azure.ResourceManager;
using TypeSpec.Http;
using TypeSpec.OpenAPI;

namespace Microsoft.DesktopVirtualization;
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import "./models.tsp";
using TypeSpec.Rest;
using Azure.ResourceManager;
using TypeSpec.Http;
using TypeSpec.OpenAPI;

namespace Microsoft.DesktopVirtualization;
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ import "@azure-tools/typespec-azure-resource-manager";

using Http;
using Rest;
using Azure.ResourceManager;
using Azure.ResourceManager.Foundations;

namespace Azure.ResourceManager.Legacy {
interface LegacyOperations<
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import "./HostPool.tsp";
using TypeSpec.Rest;
using Azure.ResourceManager;
using TypeSpec.Http;
using TypeSpec.OpenAPI;

namespace Microsoft.DesktopVirtualization;
/**
Expand Down Expand Up @@ -43,6 +42,8 @@ interface MSIXPackages {
/**
* Create or update a MSIX package.
*/
#suppress "@azure-tools/typespec-azure-core/no-openapi" "casing issue"
@OpenAPI.operationId("MSIXPackages_CreateOrUpdate")
createOrUpdate is ArmResourceCreateOrReplaceSync<
MSIXPackage,
Azure.ResourceManager.Foundations.ResourceGroupBaseParameters
Expand All @@ -51,6 +52,8 @@ interface MSIXPackages {
/**
* Update an MSIX Package.
*/
#suppress "@azure-tools/typespec-azure-core/no-openapi" "casing issue"
@OpenAPI.operationId("MSIXPackages_Update")
@patch(#{ implicitOptionality: false })
update is Azure.ResourceManager.ArmCustomPatchSync<
MSIXPackage,
Expand All @@ -61,6 +64,8 @@ interface MSIXPackages {
/**
* Remove an MSIX Package.
*/
#suppress "@azure-tools/typespec-azure-core/no-openapi" "casing issue"
@OpenAPI.operationId("MSIXPackages_Delete")
delete is ArmResourceDeleteSync<
MSIXPackage,
Azure.ResourceManager.Foundations.ResourceGroupBaseParameters
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import "./LegacyOperations.tsp";
using TypeSpec.Rest;
using Azure.ResourceManager;
using TypeSpec.Http;
using TypeSpec.OpenAPI;

namespace Microsoft.DesktopVirtualization;
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import "./HostPool.tsp";
using TypeSpec.Rest;
using Azure.ResourceManager;
using TypeSpec.Http;
using TypeSpec.OpenAPI;

namespace Microsoft.DesktopVirtualization;
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import "./ScalingPlan.tsp";
using TypeSpec.Rest;
using Azure.ResourceManager;
using TypeSpec.Http;
using TypeSpec.OpenAPI;

namespace Microsoft.DesktopVirtualization;
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import "./ScalingPlan.tsp";
using TypeSpec.Rest;
using Azure.ResourceManager;
using TypeSpec.Http;
using TypeSpec.OpenAPI;

namespace Microsoft.DesktopVirtualization;
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import "./HostPool.tsp";
using TypeSpec.Rest;
using Azure.ResourceManager;
using TypeSpec.Http;
using TypeSpec.OpenAPI;

namespace Microsoft.DesktopVirtualization;
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import "./HostPool.tsp";
using TypeSpec.Rest;
using Azure.ResourceManager;
using TypeSpec.Http;
using TypeSpec.OpenAPI;

namespace Microsoft.DesktopVirtualization;
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import "./CustomOperations.tsp";
using TypeSpec.Rest;
using Azure.ResourceManager;
using TypeSpec.Http;
using TypeSpec.OpenAPI;

namespace Microsoft.DesktopVirtualization;
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import "./SessionHostManagement.tsp";
using TypeSpec.Rest;
using Azure.ResourceManager;
using TypeSpec.Http;
using TypeSpec.OpenAPI;

namespace Microsoft.DesktopVirtualization;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import "./SessionHost.tsp";
using TypeSpec.Rest;
using Azure.ResourceManager;
using TypeSpec.Http;
using TypeSpec.OpenAPI;

namespace Microsoft.DesktopVirtualization;
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,8 @@ import "@typespec/rest";
import "./models.tsp";
import "./CustomOperations.tsp";

using TypeSpec.Rest;
using Azure.ResourceManager;
using TypeSpec.Http;
using TypeSpec.OpenAPI;

namespace Microsoft.DesktopVirtualization;
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@ import "./AppAttachPackage.tsp";
import "./PrivateEndpointConnection.tsp";
import "./Workspace.tsp";

using TypeSpec.Rest;
using Azure.ResourceManager;
using TypeSpec.Http;
using TypeSpec.OpenAPI;
using Azure.ClientGenerator.Core;
using Microsoft.DesktopVirtualization;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,6 @@
}
}
},
"operationId": "MsixPackages_CreateOrUpdate",
"title": "MsixPackages_Create"
"operationId": "MSIXPackages_CreateOrUpdate",
"title": "MSIXPackages_Create"
}
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,6 @@
},
"204": {}
},
"operationId": "MsixPackages_Delete",
"title": "MsixPackages_Delete"
"operationId": "MSIXPackages_Delete",
"title": "MSIXPackages_Delete"
}
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,6 @@
}
}
},
"operationId": "MsixPackages_Update",
"title": "MsixPackage_Update"
"operationId": "MSIXPackages_Update",
"title": "MSIXPackage_Update"
}
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@ import "./back-compat.tsp";

using TypeSpec.Rest;
using TypeSpec.Http;
using Azure.ResourceManager.Foundations;
using Azure.Core;
using Azure.ResourceManager;
using TypeSpec.Versioning;
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@ import "@typespec/http";
import "@azure-tools/typespec-azure-core";
import "@azure-tools/typespec-azure-resource-manager";

using TypeSpec.Rest;
using TypeSpec.Http;
using Azure.ResourceManager;
using Azure.ResourceManager.Foundations;

namespace Microsoft.DesktopVirtualization;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2254,7 +2254,7 @@
}
},
"put": {
"operationId": "MsixPackages_CreateOrUpdate",
"operationId": "MSIXPackages_CreateOrUpdate",
"tags": [
"MSIXPackages"
],
Expand Down Expand Up @@ -2320,13 +2320,13 @@
}
},
"x-ms-examples": {
"MsixPackages_Create": {
"$ref": "./examples/MsixPackages_CreateOrUpdate.json"
"MSIXPackages_Create": {
"$ref": "./examples/MSIXPackages_CreateOrUpdate.json"
}
}
},
"patch": {
"operationId": "MsixPackages_Update",
"operationId": "MSIXPackages_Update",
"tags": [
"MSIXPackages"
],
Expand Down Expand Up @@ -2386,13 +2386,13 @@
}
},
"x-ms-examples": {
"MsixPackage_Update": {
"$ref": "./examples/MsixPackages_Update.json"
"MSIXPackage_Update": {
"$ref": "./examples/MSIXPackages_Update.json"
}
}
},
"delete": {
"operationId": "MsixPackages_Delete",
"operationId": "MSIXPackages_Delete",
"tags": [
"MSIXPackages"
],
Expand Down Expand Up @@ -2443,8 +2443,8 @@
}
},
"x-ms-examples": {
"MsixPackages_Delete": {
"$ref": "./examples/MsixPackages_Delete.json"
"MSIXPackages_Delete": {
"$ref": "./examples/MSIXPackages_Delete.json"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,6 @@
}
}
},
"operationId": "MsixPackages_CreateOrUpdate",
"title": "MsixPackages_Create"
"operationId": "MSIXPackages_CreateOrUpdate",
"title": "MSIXPackages_Create"
}
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,6 @@
},
"204": {}
},
"operationId": "MsixPackages_Delete",
"title": "MsixPackages_Delete"
"operationId": "MSIXPackages_Delete",
"title": "MSIXPackages_Delete"
}
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,6 @@
}
}
},
"operationId": "MsixPackages_Update",
"title": "MsixPackage_Update"
"operationId": "MSIXPackages_Update",
"title": "MSIXPackage_Update"
}