From afc98f04c4eb340f74ff1cee65f439e07034940e Mon Sep 17 00:00:00 2001 From: iscai-msft <43154838+iscai-msft@users.noreply.github.com> Date: Fri, 26 Apr 2024 18:49:11 -0400 Subject: [PATCH] update crossLanguageDefinitionId to fully qualified for operations (#2548) --- packages/typespec-python/CHANGELOG.md | 20 ++ packages/typespec-python/package.json | 6 +- packages/typespec-python/src/http.ts | 3 +- .../apiview_mapping_python.json | 4 +- .../apiview_mapping_python.json | 4 +- .../apiview_mapping_python.json | 4 +- .../apiview_mapping_python.json | 4 +- .../apiview_mapping_python.json | 6 +- .../apiview_mapping_python.json | 4 +- .../apiview_mapping_python.json | 22 +- .../apiview_mapping_python.json | 6 +- .../apiview_mapping_python.json | 10 +- .../apiview_mapping_python.json | 4 +- .../apiview_mapping_python.json | 88 ++++---- .../apiview_mapping_python.json | 2 +- .../apiview_mapping_python.json | 2 +- .../client-naming/apiview_mapping_python.json | 22 +- .../apiview_mapping_python.json | 14 +- .../apiview_mapping_python.json | 12 +- .../apiview_mapping_python.json | 12 +- .../apiview_mapping_python.json | 12 +- .../encode-bytes/apiview_mapping_python.json | 44 ++-- .../apiview_mapping_python.json | 38 ++-- .../apiview_mapping_python.json | 30 +-- .../apiview_mapping_python.json | 12 +- .../apiview_mapping_python.json | 12 +- .../apiview_mapping_python.json | 8 +- .../apiview_mapping_python.json | 12 +- .../apiview_mapping_python.json | 8 +- .../apiview_mapping_python.json | 8 +- .../apiview_mapping_python.json | 6 +- .../apiview_mapping_python.json | 8 +- .../apiview_mapping_python.json | 16 +- .../apiview_mapping_python.json | 2 +- .../apiview_mapping_python.json | 6 +- .../apiview_mapping_python.json | 8 +- .../apiview_mapping_python.json | 4 +- .../apiview_mapping_python.json | 2 +- .../apiview_mapping_python.json | 4 +- .../apiview_mapping_python.json | 2 +- .../apiview_mapping_python.json | 6 +- .../apiview_mapping_python.json | 8 +- .../apiview_mapping_python.json | 4 +- .../apiview_mapping_python.json | 2 +- .../special-words/apiview_mapping_python.json | 202 +++++++++--------- .../apiview_mapping_python.json | 40 ++-- .../apiview_mapping_python.json | 44 ++-- .../apiview_mapping_python.json | 8 +- .../apiview_mapping_python.json | 6 +- .../apiview_mapping_python.json | 6 +- .../apiview_mapping_python.json | 16 +- .../apiview_mapping_python.json | 4 +- .../apiview_mapping_python.json | 12 +- .../apiview_mapping_python.json | 6 +- .../apiview_mapping_python.json | 4 +- .../apiview_mapping_python.json | 14 +- .../apiview_mapping_python.json | 6 +- .../apiview_mapping_python.json | 12 +- .../apiview_mapping_python.json | 128 +++++------ .../apiview_mapping_python.json | 48 ++--- .../apiview_mapping_python.json | 112 +++++----- .../apiview_mapping_python.json | 116 +++++----- .../apiview_mapping_python.json | 32 +-- .../apiview_mapping_python.json | 40 ++-- .../mock_api_tests/cadl-ranch-config.yaml | 29 +++ pnpm-lock.yaml | 16 +- 66 files changed, 730 insertions(+), 682 deletions(-) create mode 100644 packages/typespec-python/test/unbranded/mock_api_tests/cadl-ranch-config.yaml diff --git a/packages/typespec-python/CHANGELOG.md b/packages/typespec-python/CHANGELOG.md index 6dcb727e1e5..11ddfb43c52 100644 --- a/packages/typespec-python/CHANGELOG.md +++ b/packages/typespec-python/CHANGELOG.md @@ -1,5 +1,25 @@ # Release +## 2023-04-26 - 0.23.8 + +| Library | Min Version | +| ----------------------------------------------------------------------- | ------------- | +| `@typespec/compiler` | `0.55.0` | +| `@typespec/http` | `0.55.0` | +| `@typespec/rest` | `0.55.0` | +| `@typespec/versioning` | `0.55.0` | +| `@azure-tools/typespec-azure-core` | `0.41.7` | +| `@azure-tools/typespec-client-generator-core` | `0.41.2` | +| `azure-core` dep of generated code | `1.30.0` | +| `corehttp` dep of generated code | `1.0.0b3` | +| `isodate` dep of generated code | `0.6.1` | +| `azure-mgmt-core` dep of generated code (If generating mgmt plane code) | `1.3.2` | +| `typing-extensions` dep of generated code | `4.6.0` | + +**Bug Fixes** + +- Use fully qualified name for operation `crossLanguageDefinitionId`s in `api_view_mapping_python.json` #2548 + ## 2023-04-25 - 0.23.7 | Library | Min Version | diff --git a/packages/typespec-python/package.json b/packages/typespec-python/package.json index 81d8a5133f3..df144195002 100644 --- a/packages/typespec-python/package.json +++ b/packages/typespec-python/package.json @@ -1,6 +1,6 @@ { "name": "@azure-tools/typespec-python", - "version": "0.23.7", + "version": "0.23.8", "author": "Microsoft Corporation", "description": "TypeSpec emitter for Python SDKs", "homepage": "https://github.com/Azure/autorest.python", @@ -45,7 +45,7 @@ "@azure-tools/typespec-azure-core": ">=0.41.0 <1.0.0", "@azure-tools/typespec-azure-resource-manager": ">=0.41.0 <1.0.0", "@azure-tools/typespec-autorest": ">=0.41.0 <1.0.0", - "@azure-tools/typespec-client-generator-core": ">=0.41.6 <1.0.0", + "@azure-tools/typespec-client-generator-core": ">=0.41.7 <1.0.0", "@typespec/compiler": ">=0.55.0 <1.0.0", "@typespec/http": ">=0.55.0 <1.0.0", "@typespec/rest": ">=0.55.0 <1.0.0", @@ -78,7 +78,7 @@ "rimraf": "~5.0.0", "typescript": "~5.1.3", "@azure-tools/typespec-azure-core": "~0.41.0", - "@azure-tools/typespec-client-generator-core": "~0.41.6", + "@azure-tools/typespec-client-generator-core": "~0.41.7", "@typespec/compiler": "~0.55.0", "@typespec/http": "~0.55.0", "@typespec/rest": "~0.55.0", diff --git a/packages/typespec-python/src/http.ts b/packages/typespec-python/src/http.ts index d1f055ae40a..0d2b99b35ba 100644 --- a/packages/typespec-python/src/http.ts +++ b/packages/typespec-python/src/http.ts @@ -12,7 +12,6 @@ import { SdkQueryParameter, SdkServiceMethod, SdkServiceResponseHeader, - getCrossLanguageDefinitionId, } from "@azure-tools/typespec-client-generator-core"; import { camelToSnakeCase, @@ -180,7 +179,7 @@ function emitHttpOperation( apiVersions: [], wantTracing: true, exposeStreamKeyword: true, - crossLanguageDefinitionId: method ? getCrossLanguageDefinitionId(method) : undefined, + crossLanguageDefinitionId: method?.crossLanguageDefintionId, }; if ( result.bodyParameter && diff --git a/packages/typespec-python/test/azure/generated/authentication-api-key/apiview_mapping_python.json b/packages/typespec-python/test/azure/generated/authentication-api-key/apiview_mapping_python.json index 4298533787c..59de600085b 100644 --- a/packages/typespec-python/test/azure/generated/authentication-api-key/apiview_mapping_python.json +++ b/packages/typespec-python/test/azure/generated/authentication-api-key/apiview_mapping_python.json @@ -2,7 +2,7 @@ "CrossLanguagePackageId": "Authentication.ApiKey", "CrossLanguageDefinitionId": { "authentication.apikey.models.InvalidAuth": "Authentication.ApiKey.InvalidAuth", - "authentication.apikey.ApiKeyClient.valid": "valid", - "authentication.apikey.ApiKeyClient.invalid": "invalid" + "authentication.apikey.ApiKeyClient.valid": "Authentication.ApiKey.valid", + "authentication.apikey.ApiKeyClient.invalid": "Authentication.ApiKey.invalid" } } \ No newline at end of file diff --git a/packages/typespec-python/test/azure/generated/authentication-http-custom/apiview_mapping_python.json b/packages/typespec-python/test/azure/generated/authentication-http-custom/apiview_mapping_python.json index 1452879dcf6..5b5f546aadb 100644 --- a/packages/typespec-python/test/azure/generated/authentication-http-custom/apiview_mapping_python.json +++ b/packages/typespec-python/test/azure/generated/authentication-http-custom/apiview_mapping_python.json @@ -2,7 +2,7 @@ "CrossLanguagePackageId": "Authentication.Http.Custom", "CrossLanguageDefinitionId": { "authentication.http.custom.models.InvalidAuth": "Authentication.Http.Custom.InvalidAuth", - "authentication.http.custom.CustomClient.valid": "valid", - "authentication.http.custom.CustomClient.invalid": "invalid" + "authentication.http.custom.CustomClient.valid": "Authentication.Http.Custom.valid", + "authentication.http.custom.CustomClient.invalid": "Authentication.Http.Custom.invalid" } } \ No newline at end of file diff --git a/packages/typespec-python/test/azure/generated/authentication-oauth2/apiview_mapping_python.json b/packages/typespec-python/test/azure/generated/authentication-oauth2/apiview_mapping_python.json index 720c0906f96..7685e04442c 100644 --- a/packages/typespec-python/test/azure/generated/authentication-oauth2/apiview_mapping_python.json +++ b/packages/typespec-python/test/azure/generated/authentication-oauth2/apiview_mapping_python.json @@ -2,7 +2,7 @@ "CrossLanguagePackageId": "Authentication.OAuth2", "CrossLanguageDefinitionId": { "authentication.oauth2.models.InvalidAuth": "Authentication.OAuth2.InvalidAuth", - "authentication.oauth2.OAuth2Client.valid": "valid", - "authentication.oauth2.OAuth2Client.invalid": "invalid" + "authentication.oauth2.OAuth2Client.valid": "Authentication.OAuth2.valid", + "authentication.oauth2.OAuth2Client.invalid": "Authentication.OAuth2.invalid" } } \ No newline at end of file diff --git a/packages/typespec-python/test/azure/generated/authentication-union/apiview_mapping_python.json b/packages/typespec-python/test/azure/generated/authentication-union/apiview_mapping_python.json index b351c64f20d..db8a9b3c0a0 100644 --- a/packages/typespec-python/test/azure/generated/authentication-union/apiview_mapping_python.json +++ b/packages/typespec-python/test/azure/generated/authentication-union/apiview_mapping_python.json @@ -1,7 +1,7 @@ { "CrossLanguagePackageId": "Authentication.Union", "CrossLanguageDefinitionId": { - "authentication.union.UnionClient.valid_key": "validKey", - "authentication.union.UnionClient.valid_token": "validToken" + "authentication.union.UnionClient.valid_key": "Authentication.Union.validKey", + "authentication.union.UnionClient.valid_token": "Authentication.Union.validToken" } } \ No newline at end of file diff --git a/packages/typespec-python/test/azure/generated/azure-client-generator-core-access/apiview_mapping_python.json b/packages/typespec-python/test/azure/generated/azure-client-generator-core-access/apiview_mapping_python.json index cc283c5bd7b..52c86eea8c4 100644 --- a/packages/typespec-python/test/azure/generated/azure-client-generator-core-access/apiview_mapping_python.json +++ b/packages/typespec-python/test/azure/generated/azure-client-generator-core-access/apiview_mapping_python.json @@ -12,8 +12,8 @@ "specs.azure.clientgenerator.core.access.models.PublicDecoratorModelInPublic": "_Specs_.Azure.ClientGenerator.Core.Access.PublicOperation.PublicDecoratorModelInPublic", "specs.azure.clientgenerator.core.access.models.RealModel": "_Specs_.Azure.ClientGenerator.Core.Access.RelativeModelInOperation.RealModel", "specs.azure.clientgenerator.core.access.models.SharedModel": "_Specs_.Azure.ClientGenerator.Core.Access.SharedModelInOperation.SharedModel", - "specs.azure.clientgenerator.core.access.AccessClient.public_operation.no_decorator_in_public": "noDecoratorInPublic", - "specs.azure.clientgenerator.core.access.AccessClient.public_operation.public_decorator_in_public": "publicDecoratorInPublic", - "specs.azure.clientgenerator.core.access.AccessClient.shared_model_in_operation.public": "public" + "specs.azure.clientgenerator.core.access.AccessClient.public_operation.no_decorator_in_public": "_Specs_.Azure.ClientGenerator.Core.Access.PublicOperation.noDecoratorInPublic", + "specs.azure.clientgenerator.core.access.AccessClient.public_operation.public_decorator_in_public": "_Specs_.Azure.ClientGenerator.Core.Access.PublicOperation.publicDecoratorInPublic", + "specs.azure.clientgenerator.core.access.AccessClient.shared_model_in_operation.public": "_Specs_.Azure.ClientGenerator.Core.Access.SharedModelInOperation.public" } } \ No newline at end of file diff --git a/packages/typespec-python/test/azure/generated/azure-client-generator-core-usage/apiview_mapping_python.json b/packages/typespec-python/test/azure/generated/azure-client-generator-core-usage/apiview_mapping_python.json index 3b314fe39e6..bf0eac9449e 100644 --- a/packages/typespec-python/test/azure/generated/azure-client-generator-core-usage/apiview_mapping_python.json +++ b/packages/typespec-python/test/azure/generated/azure-client-generator-core-usage/apiview_mapping_python.json @@ -4,7 +4,7 @@ "specs.azure.clientgenerator.core.usage.models.InputModel": "_Specs_.Azure.ClientGenerator.Core.Usage.ModelInOperation.InputModel", "specs.azure.clientgenerator.core.usage.models.OrphanModel": "_Specs_.Azure.ClientGenerator.Core.Usage.OrphanModel", "specs.azure.clientgenerator.core.usage.models.OutputModel": "_Specs_.Azure.ClientGenerator.Core.Usage.ModelInOperation.OutputModel", - "specs.azure.clientgenerator.core.usage.UsageClient.model_in_operation.input_to_input_output": "inputToInputOutput", - "specs.azure.clientgenerator.core.usage.UsageClient.model_in_operation.output_to_input_output": "outputToInputOutput" + "specs.azure.clientgenerator.core.usage.UsageClient.model_in_operation.input_to_input_output": "_Specs_.Azure.ClientGenerator.Core.Usage.ModelInOperation.inputToInputOutput", + "specs.azure.clientgenerator.core.usage.UsageClient.model_in_operation.output_to_input_output": "_Specs_.Azure.ClientGenerator.Core.Usage.ModelInOperation.outputToInputOutput" } } \ No newline at end of file diff --git a/packages/typespec-python/test/azure/generated/azure-core-basic/apiview_mapping_python.json b/packages/typespec-python/test/azure/generated/azure-core-basic/apiview_mapping_python.json index 243ce130cf5..7391f11a34d 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-basic/apiview_mapping_python.json +++ b/packages/typespec-python/test/azure/generated/azure-core-basic/apiview_mapping_python.json @@ -8,16 +8,16 @@ "specs.azure.core.basic.models.UserListResults": "_Specs_.Azure.Core.Basic.CustomPageModel", "specs.azure.core.basic.models.UserOrder": "_Specs_.Azure.Core.Basic.UserOrder", "specs.azure.core.basic.models.ListItemInputExtensibleEnum": "_Specs_.Azure.Core.Basic.ListItemInputExtensibleEnum", - "specs.azure.core.basic.BasicClient.two_models_as_page_item.list_first_item": "listFirstItem", - "specs.azure.core.basic.BasicClient.two_models_as_page_item.list_second_item": "listSecondItem", - "specs.azure.core.basic.BasicClient.create_or_update": "createOrUpdate", - "specs.azure.core.basic.BasicClient.create_or_replace": "createOrReplace", - "specs.azure.core.basic.BasicClient.get": "get", - "specs.azure.core.basic.BasicClient.list": "list", - "specs.azure.core.basic.BasicClient.list_with_page": "listWithPage", - "specs.azure.core.basic.BasicClient.list_with_parameters": "listWithParameters", - "specs.azure.core.basic.BasicClient.list_with_custom_page_model": "listWithCustomPageModel", - "specs.azure.core.basic.BasicClient.delete": "delete", - "specs.azure.core.basic.BasicClient.export": "export" + "specs.azure.core.basic.BasicClient.two_models_as_page_item.list_first_item": "_Specs_.Azure.Core.Basic.TwoModelsAsPageItem.listFirstItem", + "specs.azure.core.basic.BasicClient.two_models_as_page_item.list_second_item": "_Specs_.Azure.Core.Basic.TwoModelsAsPageItem.listSecondItem", + "specs.azure.core.basic.BasicClient.create_or_update": "_Specs_.Azure.Core.Basic.createOrUpdate", + "specs.azure.core.basic.BasicClient.create_or_replace": "_Specs_.Azure.Core.Basic.createOrReplace", + "specs.azure.core.basic.BasicClient.get": "_Specs_.Azure.Core.Basic.get", + "specs.azure.core.basic.BasicClient.list": "_Specs_.Azure.Core.Basic.list", + "specs.azure.core.basic.BasicClient.list_with_page": "_Specs_.Azure.Core.Basic.listWithPage", + "specs.azure.core.basic.BasicClient.list_with_parameters": "_Specs_.Azure.Core.Basic.listWithParameters", + "specs.azure.core.basic.BasicClient.list_with_custom_page_model": "_Specs_.Azure.Core.Basic.listWithCustomPageModel", + "specs.azure.core.basic.BasicClient.delete": "_Specs_.Azure.Core.Basic.delete", + "specs.azure.core.basic.BasicClient.export": "_Specs_.Azure.Core.Basic.export" } } \ No newline at end of file diff --git a/packages/typespec-python/test/azure/generated/azure-core-lro-standard/apiview_mapping_python.json b/packages/typespec-python/test/azure/generated/azure-core-lro-standard/apiview_mapping_python.json index d4c18a09651..f2e2037a2d8 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-lro-standard/apiview_mapping_python.json +++ b/packages/typespec-python/test/azure/generated/azure-core-lro-standard/apiview_mapping_python.json @@ -3,8 +3,8 @@ "CrossLanguageDefinitionId": { "specs.azure.core.lro.standard.models.ExportedUser": "_Specs_.Azure.Core.Lro.Standard.ExportedUser", "specs.azure.core.lro.standard.models.User": "_Specs_.Azure.Core.Lro.Standard.User", - "specs.azure.core.lro.standard.StandardClient.begin_create_or_replace": "createOrReplace", - "specs.azure.core.lro.standard.StandardClient.begin_delete": "delete", - "specs.azure.core.lro.standard.StandardClient.begin_export": "export" + "specs.azure.core.lro.standard.StandardClient.begin_create_or_replace": "_Specs_.Azure.Core.Lro.Standard.createOrReplace", + "specs.azure.core.lro.standard.StandardClient.begin_delete": "_Specs_.Azure.Core.Lro.Standard.delete", + "specs.azure.core.lro.standard.StandardClient.begin_export": "_Specs_.Azure.Core.Lro.Standard.export" } } \ No newline at end of file diff --git a/packages/typespec-python/test/azure/generated/azure-core-scalar/apiview_mapping_python.json b/packages/typespec-python/test/azure/generated/azure-core-scalar/apiview_mapping_python.json index 460480959e7..4b24130a217 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-scalar/apiview_mapping_python.json +++ b/packages/typespec-python/test/azure/generated/azure-core-scalar/apiview_mapping_python.json @@ -2,10 +2,10 @@ "CrossLanguagePackageId": "_Specs_.Azure.Core.Scalar", "CrossLanguageDefinitionId": { "specs.azure.core.scalar.models.AzureLocationModel": "_Specs_.Azure.Core.Scalar.AzureLocationModel", - "specs.azure.core.scalar.ScalarClient.azure_location_scalar.get": "get", - "specs.azure.core.scalar.ScalarClient.azure_location_scalar.put": "put", - "specs.azure.core.scalar.ScalarClient.azure_location_scalar.post": "post", - "specs.azure.core.scalar.ScalarClient.azure_location_scalar.header": "header", - "specs.azure.core.scalar.ScalarClient.azure_location_scalar.query": "query" + "specs.azure.core.scalar.ScalarClient.azure_location_scalar.get": "_Specs_.Azure.Core.Scalar.AzureLocationScalar.get", + "specs.azure.core.scalar.ScalarClient.azure_location_scalar.put": "_Specs_.Azure.Core.Scalar.AzureLocationScalar.put", + "specs.azure.core.scalar.ScalarClient.azure_location_scalar.post": "_Specs_.Azure.Core.Scalar.AzureLocationScalar.post", + "specs.azure.core.scalar.ScalarClient.azure_location_scalar.header": "_Specs_.Azure.Core.Scalar.AzureLocationScalar.header", + "specs.azure.core.scalar.ScalarClient.azure_location_scalar.query": "_Specs_.Azure.Core.Scalar.AzureLocationScalar.query" } } \ No newline at end of file diff --git a/packages/typespec-python/test/azure/generated/azure-core-traits/apiview_mapping_python.json b/packages/typespec-python/test/azure/generated/azure-core-traits/apiview_mapping_python.json index 7035a181b8d..28fd5efe6dd 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-traits/apiview_mapping_python.json +++ b/packages/typespec-python/test/azure/generated/azure-core-traits/apiview_mapping_python.json @@ -5,7 +5,7 @@ "specs.azure.core.traits.models.UserActionParam": "_Specs_.Azure.Core.Traits.UserActionParam", "specs.azure.core.traits.models.UserActionResponse": "_Specs_.Azure.Core.Traits.UserActionResponse", "specs.azure.core.traits.models.RepeatabilityResult": "Azure.Core.RepeatabilityResult", - "specs.azure.core.traits.TraitsClient.smoke_test": "smokeTest", - "specs.azure.core.traits.TraitsClient.repeatable_action": "repeatableAction" + "specs.azure.core.traits.TraitsClient.smoke_test": "_Specs_.Azure.Core.Traits.smokeTest", + "specs.azure.core.traits.TraitsClient.repeatable_action": "_Specs_.Azure.Core.Traits.repeatableAction" } } \ No newline at end of file diff --git a/packages/typespec-python/test/azure/generated/azure-mgmt-spheredpg/apiview_mapping_python.json b/packages/typespec-python/test/azure/generated/azure-mgmt-spheredpg/apiview_mapping_python.json index c98ca40672b..9b0f1a46276 100644 --- a/packages/typespec-python/test/azure/generated/azure-mgmt-spheredpg/apiview_mapping_python.json +++ b/packages/typespec-python/test/azure/generated/azure-mgmt-spheredpg/apiview_mapping_python.json @@ -63,49 +63,49 @@ "azure.mgmt.spheredpg.models.CertificateStatus": "Microsoft.AzureSphere.CertificateStatus", "azure.mgmt.spheredpg.models.Origin": "Azure.ResourceManager.Foundations.Origin", "azure.mgmt.spheredpg.models.ActionType": "Azure.ResourceManager.Foundations.ActionType", - "azure.mgmt.spheredpg.AzureSphereClient.operations.list": "list", - "azure.mgmt.spheredpg.AzureSphereClient.catalogs.get": "get", - "azure.mgmt.spheredpg.AzureSphereClient.catalogs.begin_create_or_update": "createOrUpdate", - "azure.mgmt.spheredpg.AzureSphereClient.catalogs.update": "update", - "azure.mgmt.spheredpg.AzureSphereClient.catalogs.begin_delete": "delete", - "azure.mgmt.spheredpg.AzureSphereClient.catalogs.list_by_resource_group": "listByResourceGroup", - "azure.mgmt.spheredpg.AzureSphereClient.catalogs.list_by_subscription": "listBySubscription", - "azure.mgmt.spheredpg.AzureSphereClient.catalogs.count_devices": "countDevices", - "azure.mgmt.spheredpg.AzureSphereClient.catalogs.list_device_insights": "listDeviceInsights", - "azure.mgmt.spheredpg.AzureSphereClient.catalogs.list_devices": "listDevices", - "azure.mgmt.spheredpg.AzureSphereClient.catalogs.list_deployments": "listDeployments", - "azure.mgmt.spheredpg.AzureSphereClient.catalogs.list_device_groups": "listDeviceGroups", - "azure.mgmt.spheredpg.AzureSphereClient.images.get": "get", - "azure.mgmt.spheredpg.AzureSphereClient.images.list_by_catalog": "listByCatalog", - "azure.mgmt.spheredpg.AzureSphereClient.images.begin_create_or_update": "createOrUpdate", - "azure.mgmt.spheredpg.AzureSphereClient.images.begin_delete": "delete", - "azure.mgmt.spheredpg.AzureSphereClient.device_groups.list_by_product": "listByProduct", - "azure.mgmt.spheredpg.AzureSphereClient.device_groups.get": "get", - "azure.mgmt.spheredpg.AzureSphereClient.device_groups.begin_create_or_update": "createOrUpdate", - "azure.mgmt.spheredpg.AzureSphereClient.device_groups.begin_delete": "delete", - "azure.mgmt.spheredpg.AzureSphereClient.device_groups.begin_update": "update", - "azure.mgmt.spheredpg.AzureSphereClient.device_groups.count_devices": "countDevices", - "azure.mgmt.spheredpg.AzureSphereClient.device_groups.claim_devices": "claimDevices", - "azure.mgmt.spheredpg.AzureSphereClient.certificates.get": "get", - "azure.mgmt.spheredpg.AzureSphereClient.certificates.list_by_catalog": "listByCatalog", - "azure.mgmt.spheredpg.AzureSphereClient.certificates.retrieve_cert_chain": "retrieveCertChain", - "azure.mgmt.spheredpg.AzureSphereClient.certificates.retrieve_proof_of_possession_nonce": "retrieveProofOfPossessionNonce", - "azure.mgmt.spheredpg.AzureSphereClient.deployments.get": "get", - "azure.mgmt.spheredpg.AzureSphereClient.deployments.list_by_device_group": "listByDeviceGroup", - "azure.mgmt.spheredpg.AzureSphereClient.deployments.begin_create_or_update": "createOrUpdate", - "azure.mgmt.spheredpg.AzureSphereClient.deployments.begin_delete": "delete", - "azure.mgmt.spheredpg.AzureSphereClient.devices.get": "get", - "azure.mgmt.spheredpg.AzureSphereClient.devices.begin_create_or_update": "createOrUpdate", - "azure.mgmt.spheredpg.AzureSphereClient.devices.list_by_device_group": "listByDeviceGroup", - "azure.mgmt.spheredpg.AzureSphereClient.devices.begin_delete": "delete", - "azure.mgmt.spheredpg.AzureSphereClient.devices.update": "update", - "azure.mgmt.spheredpg.AzureSphereClient.devices.generate_capability_image": "generateCapabilityImage", - "azure.mgmt.spheredpg.AzureSphereClient.products.list_by_catalog": "listByCatalog", - "azure.mgmt.spheredpg.AzureSphereClient.products.get": "get", - "azure.mgmt.spheredpg.AzureSphereClient.products.begin_create_or_update": "createOrUpdate", - "azure.mgmt.spheredpg.AzureSphereClient.products.begin_delete": "delete", - "azure.mgmt.spheredpg.AzureSphereClient.products.begin_update": "update", - "azure.mgmt.spheredpg.AzureSphereClient.products.generate_default_device_groups": "generateDefaultDeviceGroups", - "azure.mgmt.spheredpg.AzureSphereClient.products.count_devices": "countDevices" + "azure.mgmt.spheredpg.AzureSphereClient.operations.list": "Azure.ResourceManager.Operations.list", + "azure.mgmt.spheredpg.AzureSphereClient.catalogs.get": "Azure.ResourceManager.Catalogs.get", + "azure.mgmt.spheredpg.AzureSphereClient.catalogs.begin_create_or_update": "Azure.ResourceManager.Catalogs.createOrUpdate", + "azure.mgmt.spheredpg.AzureSphereClient.catalogs.update": "Azure.ResourceManager.Catalogs.update", + "azure.mgmt.spheredpg.AzureSphereClient.catalogs.begin_delete": "Azure.ResourceManager.Catalogs.delete", + "azure.mgmt.spheredpg.AzureSphereClient.catalogs.list_by_resource_group": "Azure.ResourceManager.Catalogs.listByResourceGroup", + "azure.mgmt.spheredpg.AzureSphereClient.catalogs.list_by_subscription": "Azure.ResourceManager.Catalogs.listBySubscription", + "azure.mgmt.spheredpg.AzureSphereClient.catalogs.count_devices": "Microsoft.AzureSphere.Catalogs.countDevices", + "azure.mgmt.spheredpg.AzureSphereClient.catalogs.list_device_insights": "Microsoft.AzureSphere.Catalogs.listDeviceInsights", + "azure.mgmt.spheredpg.AzureSphereClient.catalogs.list_devices": "Microsoft.AzureSphere.Catalogs.listDevices", + "azure.mgmt.spheredpg.AzureSphereClient.catalogs.list_deployments": "Microsoft.AzureSphere.Catalogs.listDeployments", + "azure.mgmt.spheredpg.AzureSphereClient.catalogs.list_device_groups": "Microsoft.AzureSphere.Catalogs.listDeviceGroups", + "azure.mgmt.spheredpg.AzureSphereClient.images.get": "Azure.ResourceManager.Images.get", + "azure.mgmt.spheredpg.AzureSphereClient.images.list_by_catalog": "Azure.ResourceManager.Images.listByCatalog", + "azure.mgmt.spheredpg.AzureSphereClient.images.begin_create_or_update": "Azure.ResourceManager.Images.createOrUpdate", + "azure.mgmt.spheredpg.AzureSphereClient.images.begin_delete": "Azure.ResourceManager.Images.delete", + "azure.mgmt.spheredpg.AzureSphereClient.device_groups.list_by_product": "Microsoft.AzureSphere.DeviceGroups.listByProduct", + "azure.mgmt.spheredpg.AzureSphereClient.device_groups.get": "Microsoft.AzureSphere.DeviceGroups.get", + "azure.mgmt.spheredpg.AzureSphereClient.device_groups.begin_create_or_update": "Microsoft.AzureSphere.DeviceGroups.createOrUpdate", + "azure.mgmt.spheredpg.AzureSphereClient.device_groups.begin_delete": "Microsoft.AzureSphere.DeviceGroups.delete", + "azure.mgmt.spheredpg.AzureSphereClient.device_groups.begin_update": "Microsoft.AzureSphere.DeviceGroups.update", + "azure.mgmt.spheredpg.AzureSphereClient.device_groups.count_devices": "Microsoft.AzureSphere.DeviceGroups.countDevices", + "azure.mgmt.spheredpg.AzureSphereClient.device_groups.claim_devices": "Microsoft.AzureSphere.DeviceGroups.claimDevices", + "azure.mgmt.spheredpg.AzureSphereClient.certificates.get": "Azure.ResourceManager.Certificates.get", + "azure.mgmt.spheredpg.AzureSphereClient.certificates.list_by_catalog": "Azure.ResourceManager.Certificates.listByCatalog", + "azure.mgmt.spheredpg.AzureSphereClient.certificates.retrieve_cert_chain": "Microsoft.AzureSphere.Certificates.retrieveCertChain", + "azure.mgmt.spheredpg.AzureSphereClient.certificates.retrieve_proof_of_possession_nonce": "Microsoft.AzureSphere.Certificates.retrieveProofOfPossessionNonce", + "azure.mgmt.spheredpg.AzureSphereClient.deployments.get": "Microsoft.AzureSphere.Deployments.get", + "azure.mgmt.spheredpg.AzureSphereClient.deployments.list_by_device_group": "Microsoft.AzureSphere.Deployments.listByDeviceGroup", + "azure.mgmt.spheredpg.AzureSphereClient.deployments.begin_create_or_update": "Microsoft.AzureSphere.Deployments.createOrUpdate", + "azure.mgmt.spheredpg.AzureSphereClient.deployments.begin_delete": "Microsoft.AzureSphere.Deployments.delete", + "azure.mgmt.spheredpg.AzureSphereClient.devices.get": "Microsoft.AzureSphere.Devices.get", + "azure.mgmt.spheredpg.AzureSphereClient.devices.begin_create_or_update": "Microsoft.AzureSphere.Devices.createOrUpdate", + "azure.mgmt.spheredpg.AzureSphereClient.devices.list_by_device_group": "Microsoft.AzureSphere.Devices.listByDeviceGroup", + "azure.mgmt.spheredpg.AzureSphereClient.devices.begin_delete": "Microsoft.AzureSphere.Devices.delete", + "azure.mgmt.spheredpg.AzureSphereClient.devices.update": "Microsoft.AzureSphere.Devices.update", + "azure.mgmt.spheredpg.AzureSphereClient.devices.generate_capability_image": "Microsoft.AzureSphere.Devices.generateCapabilityImage", + "azure.mgmt.spheredpg.AzureSphereClient.products.list_by_catalog": "Azure.ResourceManager.Products.listByCatalog", + "azure.mgmt.spheredpg.AzureSphereClient.products.get": "Microsoft.AzureSphere.Products.get", + "azure.mgmt.spheredpg.AzureSphereClient.products.begin_create_or_update": "Microsoft.AzureSphere.Products.createOrUpdate", + "azure.mgmt.spheredpg.AzureSphereClient.products.begin_delete": "Microsoft.AzureSphere.Products.delete", + "azure.mgmt.spheredpg.AzureSphereClient.products.begin_update": "Microsoft.AzureSphere.Products.update", + "azure.mgmt.spheredpg.AzureSphereClient.products.generate_default_device_groups": "Microsoft.AzureSphere.Products.generateDefaultDeviceGroups", + "azure.mgmt.spheredpg.AzureSphereClient.products.count_devices": "Microsoft.AzureSphere.Products.countDevices" } } \ No newline at end of file diff --git a/packages/typespec-python/test/azure/generated/azure-special-headers-client-request-id/apiview_mapping_python.json b/packages/typespec-python/test/azure/generated/azure-special-headers-client-request-id/apiview_mapping_python.json index 0c8ee6703da..5e08e0007c9 100644 --- a/packages/typespec-python/test/azure/generated/azure-special-headers-client-request-id/apiview_mapping_python.json +++ b/packages/typespec-python/test/azure/generated/azure-special-headers-client-request-id/apiview_mapping_python.json @@ -1,6 +1,6 @@ { "CrossLanguagePackageId": "Azure.SpecialHeaders.XmsClientRequestId", "CrossLanguageDefinitionId": { - "azure.specialheaders.xmsclientrequestid.XmsClientRequestIdClient.get": "get" + "azure.specialheaders.xmsclientrequestid.XmsClientRequestIdClient.get": "Azure.SpecialHeaders.XmsClientRequestId.get" } } \ No newline at end of file diff --git a/packages/typespec-python/test/azure/generated/azurecore-lro-rpc/apiview_mapping_python.json b/packages/typespec-python/test/azure/generated/azurecore-lro-rpc/apiview_mapping_python.json index 4a6e53675fa..dd8e47c0eb3 100644 --- a/packages/typespec-python/test/azure/generated/azurecore-lro-rpc/apiview_mapping_python.json +++ b/packages/typespec-python/test/azure/generated/azurecore-lro-rpc/apiview_mapping_python.json @@ -7,6 +7,6 @@ "azurecore.lro.rpc.models.GenerationResult": "_Specs_.Azure.Core.Lro.Rpc.GenerationResult", "azurecore.lro.rpc.models.InnerError": "Azure.Core.Foundations.InnerError", "azurecore.lro.rpc.models.OperationState": "Azure.Core.Foundations.OperationState", - "azurecore.lro.rpc.RpcClient.begin_long_running_rpc": "longRunningRpc" + "azurecore.lro.rpc.RpcClient.begin_long_running_rpc": "_Specs_.Azure.Core.Lro.Rpc.longRunningRpc" } } \ No newline at end of file diff --git a/packages/typespec-python/test/azure/generated/client-naming/apiview_mapping_python.json b/packages/typespec-python/test/azure/generated/client-naming/apiview_mapping_python.json index ebcd83d1a94..183288f83e4 100644 --- a/packages/typespec-python/test/azure/generated/client-naming/apiview_mapping_python.json +++ b/packages/typespec-python/test/azure/generated/client-naming/apiview_mapping_python.json @@ -8,16 +8,16 @@ "client.naming.models.PythonModel": "Client.Naming.Model.ModelWithLanguageClientName", "client.naming.models.ClientExtensibleEnum": "Client.Naming.UnionEnum.ServerExtensibleEnum", "client.naming.models.ExtensibleEnum": "Client.Naming.UnionEnum.ExtensibleEnum", - "client.naming.NamingClient.model.client": "client", - "client.naming.NamingClient.model.language": "language", - "client.naming.NamingClient.union_enum.union_enum_name": "unionEnumName", - "client.naming.NamingClient.union_enum.union_enum_member_name": "unionEnumMemberName", - "client.naming.NamingClient.client_name": "clientName", - "client.naming.NamingClient.parameter": "parameter", - "client.naming.NamingClient.client": "client", - "client.naming.NamingClient.language": "language", - "client.naming.NamingClient.compatible_with_encoded_name": "compatibleWithEncodedName", - "client.naming.NamingClient.request": "request", - "client.naming.NamingClient.response": "response" + "client.naming.NamingClient.model.client": "Client.Naming.Model.client", + "client.naming.NamingClient.model.language": "Client.Naming.Model.language", + "client.naming.NamingClient.union_enum.union_enum_name": "Client.Naming.UnionEnum.unionEnumName", + "client.naming.NamingClient.union_enum.union_enum_member_name": "Client.Naming.UnionEnum.unionEnumMemberName", + "client.naming.NamingClient.client_name": "Client.Naming.clientName", + "client.naming.NamingClient.parameter": "Client.Naming.parameter", + "client.naming.NamingClient.client": "Client.Naming.Property.client", + "client.naming.NamingClient.language": "Client.Naming.Property.language", + "client.naming.NamingClient.compatible_with_encoded_name": "Client.Naming.Property.compatibleWithEncodedName", + "client.naming.NamingClient.request": "Client.Naming.Header.request", + "client.naming.NamingClient.response": "Client.Naming.Header.response" } } \ No newline at end of file diff --git a/packages/typespec-python/test/azure/generated/client-structure-default/apiview_mapping_python.json b/packages/typespec-python/test/azure/generated/client-structure-default/apiview_mapping_python.json index e915b4c3afa..68c63211be3 100644 --- a/packages/typespec-python/test/azure/generated/client-structure-default/apiview_mapping_python.json +++ b/packages/typespec-python/test/azure/generated/client-structure-default/apiview_mapping_python.json @@ -2,12 +2,12 @@ "CrossLanguagePackageId": "Client.Structure.Service", "CrossLanguageDefinitionId": { "client.structure.service.models.ClientType": "Client.Structure.Service.ClientType", - "client.structure.service.ServiceClient.qux.eight": "eight", - "client.structure.service.ServiceClient.foo.three": "three", - "client.structure.service.ServiceClient.foo.four": "four", - "client.structure.service.ServiceClient.bar.five": "five", - "client.structure.service.ServiceClient.bar.six": "six", - "client.structure.service.ServiceClient.one": "one", - "client.structure.service.ServiceClient.two": "two" + "client.structure.service.ServiceClient.qux.eight": "Client.Structure.Service.Qux.eight", + "client.structure.service.ServiceClient.foo.three": "Client.Structure.Service.Foo.three", + "client.structure.service.ServiceClient.foo.four": "Client.Structure.Service.Foo.four", + "client.structure.service.ServiceClient.bar.five": "Client.Structure.Service.Bar.five", + "client.structure.service.ServiceClient.bar.six": "Client.Structure.Service.Bar.six", + "client.structure.service.ServiceClient.one": "Client.Structure.Service.one", + "client.structure.service.ServiceClient.two": "Client.Structure.Service.two" } } \ No newline at end of file diff --git a/packages/typespec-python/test/azure/generated/client-structure-multiclient/apiview_mapping_python.json b/packages/typespec-python/test/azure/generated/client-structure-multiclient/apiview_mapping_python.json index ea78977021b..209f247404d 100644 --- a/packages/typespec-python/test/azure/generated/client-structure-multiclient/apiview_mapping_python.json +++ b/packages/typespec-python/test/azure/generated/client-structure-multiclient/apiview_mapping_python.json @@ -2,11 +2,11 @@ "CrossLanguagePackageId": "Client.Structure.Service", "CrossLanguageDefinitionId": { "client.structure.multiclient.models.ClientType": "Client.Structure.Service.ClientType", - "client.structure.multiclient.ClientAClient.renamed_one": "renamedOne", - "client.structure.multiclient.ClientAClient.renamed_three": "renamedThree", - "client.structure.multiclient.ClientAClient.renamed_five": "renamedFive", - "client.structure.multiclient.ClientBClient.renamed_two": "renamedTwo", - "client.structure.multiclient.ClientBClient.renamed_four": "renamedFour", - "client.structure.multiclient.ClientBClient.renamed_six": "renamedSix" + "client.structure.multiclient.ClientAClient.renamed_one": "Client.Structure.MultiClient.ClientA.renamedOne", + "client.structure.multiclient.ClientAClient.renamed_three": "Client.Structure.MultiClient.ClientA.renamedThree", + "client.structure.multiclient.ClientAClient.renamed_five": "Client.Structure.MultiClient.ClientA.renamedFive", + "client.structure.multiclient.ClientBClient.renamed_two": "Client.Structure.MultiClient.ClientB.renamedTwo", + "client.structure.multiclient.ClientBClient.renamed_four": "Client.Structure.MultiClient.ClientB.renamedFour", + "client.structure.multiclient.ClientBClient.renamed_six": "Client.Structure.MultiClient.ClientB.renamedSix" } } \ No newline at end of file diff --git a/packages/typespec-python/test/azure/generated/client-structure-renamedoperation/apiview_mapping_python.json b/packages/typespec-python/test/azure/generated/client-structure-renamedoperation/apiview_mapping_python.json index b5850ab0607..fc1f4a34da1 100644 --- a/packages/typespec-python/test/azure/generated/client-structure-renamedoperation/apiview_mapping_python.json +++ b/packages/typespec-python/test/azure/generated/client-structure-renamedoperation/apiview_mapping_python.json @@ -2,11 +2,11 @@ "CrossLanguagePackageId": "Client.Structure.Service", "CrossLanguageDefinitionId": { "client.structure.renamedoperation.models.ClientType": "Client.Structure.Service.ClientType", - "client.structure.renamedoperation.RenamedOperationClient.group.renamed_two": "renamedTwo", - "client.structure.renamedoperation.RenamedOperationClient.group.renamed_four": "renamedFour", - "client.structure.renamedoperation.RenamedOperationClient.group.renamed_six": "renamedSix", - "client.structure.renamedoperation.RenamedOperationClient.renamed_one": "renamedOne", - "client.structure.renamedoperation.RenamedOperationClient.renamed_three": "renamedThree", - "client.structure.renamedoperation.RenamedOperationClient.renamed_five": "renamedFive" + "client.structure.renamedoperation.RenamedOperationClient.group.renamed_two": "Client.Structure.RenamedOperation.Group.renamedTwo", + "client.structure.renamedoperation.RenamedOperationClient.group.renamed_four": "Client.Structure.RenamedOperation.Group.renamedFour", + "client.structure.renamedoperation.RenamedOperationClient.group.renamed_six": "Client.Structure.RenamedOperation.Group.renamedSix", + "client.structure.renamedoperation.RenamedOperationClient.renamed_one": "Client.Structure.RenamedOperation.renamedOne", + "client.structure.renamedoperation.RenamedOperationClient.renamed_three": "Client.Structure.RenamedOperation.renamedThree", + "client.structure.renamedoperation.RenamedOperationClient.renamed_five": "Client.Structure.RenamedOperation.renamedFive" } } \ No newline at end of file diff --git a/packages/typespec-python/test/azure/generated/client-structure-twooperationgroup/apiview_mapping_python.json b/packages/typespec-python/test/azure/generated/client-structure-twooperationgroup/apiview_mapping_python.json index 6fbdb3570a1..96afd779a4f 100644 --- a/packages/typespec-python/test/azure/generated/client-structure-twooperationgroup/apiview_mapping_python.json +++ b/packages/typespec-python/test/azure/generated/client-structure-twooperationgroup/apiview_mapping_python.json @@ -2,11 +2,11 @@ "CrossLanguagePackageId": "Client.Structure.Service", "CrossLanguageDefinitionId": { "client.structure.twooperationgroup.models.ClientType": "Client.Structure.Service.ClientType", - "client.structure.twooperationgroup.TwoOperationGroupClient.group1.one": "one", - "client.structure.twooperationgroup.TwoOperationGroupClient.group1.three": "three", - "client.structure.twooperationgroup.TwoOperationGroupClient.group1.four": "four", - "client.structure.twooperationgroup.TwoOperationGroupClient.group2.two": "two", - "client.structure.twooperationgroup.TwoOperationGroupClient.group2.five": "five", - "client.structure.twooperationgroup.TwoOperationGroupClient.group2.six": "six" + "client.structure.twooperationgroup.TwoOperationGroupClient.group1.one": "Client.Structure.TwoOperationGroup.Group1.one", + "client.structure.twooperationgroup.TwoOperationGroupClient.group1.three": "Client.Structure.TwoOperationGroup.Group1.three", + "client.structure.twooperationgroup.TwoOperationGroupClient.group1.four": "Client.Structure.TwoOperationGroup.Group1.four", + "client.structure.twooperationgroup.TwoOperationGroupClient.group2.two": "Client.Structure.TwoOperationGroup.Group2.two", + "client.structure.twooperationgroup.TwoOperationGroupClient.group2.five": "Client.Structure.TwoOperationGroup.Group2.five", + "client.structure.twooperationgroup.TwoOperationGroupClient.group2.six": "Client.Structure.TwoOperationGroup.Group2.six" } } \ No newline at end of file diff --git a/packages/typespec-python/test/azure/generated/encode-bytes/apiview_mapping_python.json b/packages/typespec-python/test/azure/generated/encode-bytes/apiview_mapping_python.json index 17e44c8793e..88ca1f8308c 100644 --- a/packages/typespec-python/test/azure/generated/encode-bytes/apiview_mapping_python.json +++ b/packages/typespec-python/test/azure/generated/encode-bytes/apiview_mapping_python.json @@ -5,27 +5,27 @@ "encode.bytes.models.Base64urlArrayBytesProperty": "Encode.Bytes.Base64urlArrayBytesProperty", "encode.bytes.models.Base64urlBytesProperty": "Encode.Bytes.Base64urlBytesProperty", "encode.bytes.models.DefaultBytesProperty": "Encode.Bytes.DefaultBytesProperty", - "encode.bytes.BytesClient.query.default": "default", - "encode.bytes.BytesClient.query.base64": "base64", - "encode.bytes.BytesClient.query.base64url": "base64url", - "encode.bytes.BytesClient.query.base64url_array": "base64urlArray", - "encode.bytes.BytesClient.property.default": "default", - "encode.bytes.BytesClient.property.base64": "base64", - "encode.bytes.BytesClient.property.base64url": "base64url", - "encode.bytes.BytesClient.property.base64url_array": "base64urlArray", - "encode.bytes.BytesClient.header.default": "default", - "encode.bytes.BytesClient.header.base64": "base64", - "encode.bytes.BytesClient.header.base64url": "base64url", - "encode.bytes.BytesClient.header.base64url_array": "base64urlArray", - "encode.bytes.BytesClient.request_body.default": "default", - "encode.bytes.BytesClient.request_body.octet_stream": "octetStream", - "encode.bytes.BytesClient.request_body.custom_content_type": "customContentType", - "encode.bytes.BytesClient.request_body.base64": "base64", - "encode.bytes.BytesClient.request_body.base64url": "base64url", - "encode.bytes.BytesClient.response_body.default": "default", - "encode.bytes.BytesClient.response_body.octet_stream": "octetStream", - "encode.bytes.BytesClient.response_body.custom_content_type": "customContentType", - "encode.bytes.BytesClient.response_body.base64": "base64", - "encode.bytes.BytesClient.response_body.base64url": "base64url" + "encode.bytes.BytesClient.query.default": "Encode.Bytes.Query.default", + "encode.bytes.BytesClient.query.base64": "Encode.Bytes.Query.base64", + "encode.bytes.BytesClient.query.base64url": "Encode.Bytes.Query.base64url", + "encode.bytes.BytesClient.query.base64url_array": "Encode.Bytes.Query.base64urlArray", + "encode.bytes.BytesClient.property.default": "Encode.Bytes.Property.default", + "encode.bytes.BytesClient.property.base64": "Encode.Bytes.Property.base64", + "encode.bytes.BytesClient.property.base64url": "Encode.Bytes.Property.base64url", + "encode.bytes.BytesClient.property.base64url_array": "Encode.Bytes.Property.base64urlArray", + "encode.bytes.BytesClient.header.default": "Encode.Bytes.Header.default", + "encode.bytes.BytesClient.header.base64": "Encode.Bytes.Header.base64", + "encode.bytes.BytesClient.header.base64url": "Encode.Bytes.Header.base64url", + "encode.bytes.BytesClient.header.base64url_array": "Encode.Bytes.Header.base64urlArray", + "encode.bytes.BytesClient.request_body.default": "Encode.Bytes.RequestBody.default", + "encode.bytes.BytesClient.request_body.octet_stream": "Encode.Bytes.RequestBody.octetStream", + "encode.bytes.BytesClient.request_body.custom_content_type": "Encode.Bytes.RequestBody.customContentType", + "encode.bytes.BytesClient.request_body.base64": "Encode.Bytes.RequestBody.base64", + "encode.bytes.BytesClient.request_body.base64url": "Encode.Bytes.RequestBody.base64url", + "encode.bytes.BytesClient.response_body.default": "Encode.Bytes.ResponseBody.default", + "encode.bytes.BytesClient.response_body.octet_stream": "Encode.Bytes.ResponseBody.octetStream", + "encode.bytes.BytesClient.response_body.custom_content_type": "Encode.Bytes.ResponseBody.customContentType", + "encode.bytes.BytesClient.response_body.base64": "Encode.Bytes.ResponseBody.base64", + "encode.bytes.BytesClient.response_body.base64url": "Encode.Bytes.ResponseBody.base64url" } } \ No newline at end of file diff --git a/packages/typespec-python/test/azure/generated/encode-datetime/apiview_mapping_python.json b/packages/typespec-python/test/azure/generated/encode-datetime/apiview_mapping_python.json index 887af502bf7..cc53232611a 100644 --- a/packages/typespec-python/test/azure/generated/encode-datetime/apiview_mapping_python.json +++ b/packages/typespec-python/test/azure/generated/encode-datetime/apiview_mapping_python.json @@ -6,24 +6,24 @@ "encode.datetime.models.Rfc7231DatetimeProperty": "Encode.Datetime.Rfc7231DatetimeProperty", "encode.datetime.models.UnixTimestampArrayDatetimeProperty": "Encode.Datetime.UnixTimestampArrayDatetimeProperty", "encode.datetime.models.UnixTimestampDatetimeProperty": "Encode.Datetime.UnixTimestampDatetimeProperty", - "encode.datetime.DatetimeClient.query.default": "default", - "encode.datetime.DatetimeClient.query.rfc3339": "rfc3339", - "encode.datetime.DatetimeClient.query.rfc7231": "rfc7231", - "encode.datetime.DatetimeClient.query.unix_timestamp": "unixTimestamp", - "encode.datetime.DatetimeClient.query.unix_timestamp_array": "unixTimestampArray", - "encode.datetime.DatetimeClient.property.default": "default", - "encode.datetime.DatetimeClient.property.rfc3339": "rfc3339", - "encode.datetime.DatetimeClient.property.rfc7231": "rfc7231", - "encode.datetime.DatetimeClient.property.unix_timestamp": "unixTimestamp", - "encode.datetime.DatetimeClient.property.unix_timestamp_array": "unixTimestampArray", - "encode.datetime.DatetimeClient.header.default": "default", - "encode.datetime.DatetimeClient.header.rfc3339": "rfc3339", - "encode.datetime.DatetimeClient.header.rfc7231": "rfc7231", - "encode.datetime.DatetimeClient.header.unix_timestamp": "unixTimestamp", - "encode.datetime.DatetimeClient.header.unix_timestamp_array": "unixTimestampArray", - "encode.datetime.DatetimeClient.response_header.default": "default", - "encode.datetime.DatetimeClient.response_header.rfc3339": "rfc3339", - "encode.datetime.DatetimeClient.response_header.rfc7231": "rfc7231", - "encode.datetime.DatetimeClient.response_header.unix_timestamp": "unixTimestamp" + "encode.datetime.DatetimeClient.query.default": "Encode.Datetime.Query.default", + "encode.datetime.DatetimeClient.query.rfc3339": "Encode.Datetime.Query.rfc3339", + "encode.datetime.DatetimeClient.query.rfc7231": "Encode.Datetime.Query.rfc7231", + "encode.datetime.DatetimeClient.query.unix_timestamp": "Encode.Datetime.Query.unixTimestamp", + "encode.datetime.DatetimeClient.query.unix_timestamp_array": "Encode.Datetime.Query.unixTimestampArray", + "encode.datetime.DatetimeClient.property.default": "Encode.Datetime.Property.default", + "encode.datetime.DatetimeClient.property.rfc3339": "Encode.Datetime.Property.rfc3339", + "encode.datetime.DatetimeClient.property.rfc7231": "Encode.Datetime.Property.rfc7231", + "encode.datetime.DatetimeClient.property.unix_timestamp": "Encode.Datetime.Property.unixTimestamp", + "encode.datetime.DatetimeClient.property.unix_timestamp_array": "Encode.Datetime.Property.unixTimestampArray", + "encode.datetime.DatetimeClient.header.default": "Encode.Datetime.Header.default", + "encode.datetime.DatetimeClient.header.rfc3339": "Encode.Datetime.Header.rfc3339", + "encode.datetime.DatetimeClient.header.rfc7231": "Encode.Datetime.Header.rfc7231", + "encode.datetime.DatetimeClient.header.unix_timestamp": "Encode.Datetime.Header.unixTimestamp", + "encode.datetime.DatetimeClient.header.unix_timestamp_array": "Encode.Datetime.Header.unixTimestampArray", + "encode.datetime.DatetimeClient.response_header.default": "Encode.Datetime.ResponseHeader.default", + "encode.datetime.DatetimeClient.response_header.rfc3339": "Encode.Datetime.ResponseHeader.rfc3339", + "encode.datetime.DatetimeClient.response_header.rfc7231": "Encode.Datetime.ResponseHeader.rfc7231", + "encode.datetime.DatetimeClient.response_header.unix_timestamp": "Encode.Datetime.ResponseHeader.unixTimestamp" } } \ No newline at end of file diff --git a/packages/typespec-python/test/azure/generated/encode-duration/apiview_mapping_python.json b/packages/typespec-python/test/azure/generated/encode-duration/apiview_mapping_python.json index 60305e6ba1d..541a645dab7 100644 --- a/packages/typespec-python/test/azure/generated/encode-duration/apiview_mapping_python.json +++ b/packages/typespec-python/test/azure/generated/encode-duration/apiview_mapping_python.json @@ -6,20 +6,20 @@ "encode.duration.models.FloatSecondsDurationProperty": "Encode.Duration.Property.FloatSecondsDurationProperty", "encode.duration.models.Int32SecondsDurationProperty": "Encode.Duration.Property.Int32SecondsDurationProperty", "encode.duration.models.ISO8601DurationProperty": "Encode.Duration.Property.ISO8601DurationProperty", - "encode.duration.DurationClient.query.default": "default", - "encode.duration.DurationClient.query.iso8601": "iso8601", - "encode.duration.DurationClient.query.int32_seconds": "int32Seconds", - "encode.duration.DurationClient.query.float_seconds": "floatSeconds", - "encode.duration.DurationClient.query.int32_seconds_array": "int32SecondsArray", - "encode.duration.DurationClient.property.default": "default", - "encode.duration.DurationClient.property.iso8601": "iso8601", - "encode.duration.DurationClient.property.int32_seconds": "int32Seconds", - "encode.duration.DurationClient.property.float_seconds": "floatSeconds", - "encode.duration.DurationClient.property.float_seconds_array": "floatSecondsArray", - "encode.duration.DurationClient.header.default": "default", - "encode.duration.DurationClient.header.iso8601": "iso8601", - "encode.duration.DurationClient.header.iso8601_array": "iso8601Array", - "encode.duration.DurationClient.header.int32_seconds": "int32Seconds", - "encode.duration.DurationClient.header.float_seconds": "floatSeconds" + "encode.duration.DurationClient.query.default": "Encode.Duration.Query.default", + "encode.duration.DurationClient.query.iso8601": "Encode.Duration.Query.iso8601", + "encode.duration.DurationClient.query.int32_seconds": "Encode.Duration.Query.int32Seconds", + "encode.duration.DurationClient.query.float_seconds": "Encode.Duration.Query.floatSeconds", + "encode.duration.DurationClient.query.int32_seconds_array": "Encode.Duration.Query.int32SecondsArray", + "encode.duration.DurationClient.property.default": "Encode.Duration.Property.default", + "encode.duration.DurationClient.property.iso8601": "Encode.Duration.Property.iso8601", + "encode.duration.DurationClient.property.int32_seconds": "Encode.Duration.Property.int32Seconds", + "encode.duration.DurationClient.property.float_seconds": "Encode.Duration.Property.floatSeconds", + "encode.duration.DurationClient.property.float_seconds_array": "Encode.Duration.Property.floatSecondsArray", + "encode.duration.DurationClient.header.default": "Encode.Duration.Header.default", + "encode.duration.DurationClient.header.iso8601": "Encode.Duration.Header.iso8601", + "encode.duration.DurationClient.header.iso8601_array": "Encode.Duration.Header.iso8601Array", + "encode.duration.DurationClient.header.int32_seconds": "Encode.Duration.Header.int32Seconds", + "encode.duration.DurationClient.header.float_seconds": "Encode.Duration.Header.floatSeconds" } } \ No newline at end of file diff --git a/packages/typespec-python/test/azure/generated/headasbooleanfalse/apiview_mapping_python.json b/packages/typespec-python/test/azure/generated/headasbooleanfalse/apiview_mapping_python.json index 2370dcc5c68..976e7e5db65 100644 --- a/packages/typespec-python/test/azure/generated/headasbooleanfalse/apiview_mapping_python.json +++ b/packages/typespec-python/test/azure/generated/headasbooleanfalse/apiview_mapping_python.json @@ -2,11 +2,11 @@ "CrossLanguagePackageId": "Type.Model.Visibility", "CrossLanguageDefinitionId": { "headasbooleanfalse.models.VisibilityModel": "Type.Model.Visibility.VisibilityModel", - "headasbooleanfalse.VisibilityClient.get_model": "getModel", - "headasbooleanfalse.VisibilityClient.head_model": "headModel", - "headasbooleanfalse.VisibilityClient.put_model": "putModel", - "headasbooleanfalse.VisibilityClient.patch_model": "patchModel", - "headasbooleanfalse.VisibilityClient.post_model": "postModel", - "headasbooleanfalse.VisibilityClient.delete_model": "deleteModel" + "headasbooleanfalse.VisibilityClient.get_model": "Type.Model.Visibility.getModel", + "headasbooleanfalse.VisibilityClient.head_model": "Type.Model.Visibility.headModel", + "headasbooleanfalse.VisibilityClient.put_model": "Type.Model.Visibility.putModel", + "headasbooleanfalse.VisibilityClient.patch_model": "Type.Model.Visibility.patchModel", + "headasbooleanfalse.VisibilityClient.post_model": "Type.Model.Visibility.postModel", + "headasbooleanfalse.VisibilityClient.delete_model": "Type.Model.Visibility.deleteModel" } } \ No newline at end of file diff --git a/packages/typespec-python/test/azure/generated/headasbooleantrue/apiview_mapping_python.json b/packages/typespec-python/test/azure/generated/headasbooleantrue/apiview_mapping_python.json index 04da995fa23..1f3198e2e13 100644 --- a/packages/typespec-python/test/azure/generated/headasbooleantrue/apiview_mapping_python.json +++ b/packages/typespec-python/test/azure/generated/headasbooleantrue/apiview_mapping_python.json @@ -2,11 +2,11 @@ "CrossLanguagePackageId": "Type.Model.Visibility", "CrossLanguageDefinitionId": { "headasbooleantrue.models.VisibilityModel": "Type.Model.Visibility.VisibilityModel", - "headasbooleantrue.VisibilityClient.get_model": "getModel", - "headasbooleantrue.VisibilityClient.head_model": "headModel", - "headasbooleantrue.VisibilityClient.put_model": "putModel", - "headasbooleantrue.VisibilityClient.patch_model": "patchModel", - "headasbooleantrue.VisibilityClient.post_model": "postModel", - "headasbooleantrue.VisibilityClient.delete_model": "deleteModel" + "headasbooleantrue.VisibilityClient.get_model": "Type.Model.Visibility.getModel", + "headasbooleantrue.VisibilityClient.head_model": "Type.Model.Visibility.headModel", + "headasbooleantrue.VisibilityClient.put_model": "Type.Model.Visibility.putModel", + "headasbooleantrue.VisibilityClient.patch_model": "Type.Model.Visibility.patchModel", + "headasbooleantrue.VisibilityClient.post_model": "Type.Model.Visibility.postModel", + "headasbooleantrue.VisibilityClient.delete_model": "Type.Model.Visibility.deleteModel" } } \ No newline at end of file diff --git a/packages/typespec-python/test/azure/generated/parameters-body-optionality/apiview_mapping_python.json b/packages/typespec-python/test/azure/generated/parameters-body-optionality/apiview_mapping_python.json index ca321a3023c..67bff975405 100644 --- a/packages/typespec-python/test/azure/generated/parameters-body-optionality/apiview_mapping_python.json +++ b/packages/typespec-python/test/azure/generated/parameters-body-optionality/apiview_mapping_python.json @@ -2,9 +2,9 @@ "CrossLanguagePackageId": "Parameters.BodyOptionality", "CrossLanguageDefinitionId": { "parameters.bodyoptionality.models.BodyModel": "Parameters.BodyOptionality.BodyModel", - "parameters.bodyoptionality.BodyOptionalityClient.optional_explicit.set": "set", - "parameters.bodyoptionality.BodyOptionalityClient.optional_explicit.omit": "omit", - "parameters.bodyoptionality.BodyOptionalityClient.required_explicit": "requiredExplicit", - "parameters.bodyoptionality.BodyOptionalityClient.required_implicit": "requiredImplicit" + "parameters.bodyoptionality.BodyOptionalityClient.optional_explicit.set": "Parameters.BodyOptionality.OptionalExplicit.set", + "parameters.bodyoptionality.BodyOptionalityClient.optional_explicit.omit": "Parameters.BodyOptionality.OptionalExplicit.omit", + "parameters.bodyoptionality.BodyOptionalityClient.required_explicit": "Parameters.BodyOptionality.requiredExplicit", + "parameters.bodyoptionality.BodyOptionalityClient.required_implicit": "Parameters.BodyOptionality.requiredImplicit" } } \ No newline at end of file diff --git a/packages/typespec-python/test/azure/generated/parameters-collection-format/apiview_mapping_python.json b/packages/typespec-python/test/azure/generated/parameters-collection-format/apiview_mapping_python.json index 3d40c52b19c..ece56b4dae7 100644 --- a/packages/typespec-python/test/azure/generated/parameters-collection-format/apiview_mapping_python.json +++ b/packages/typespec-python/test/azure/generated/parameters-collection-format/apiview_mapping_python.json @@ -1,11 +1,11 @@ { "CrossLanguagePackageId": "Parameters.CollectionFormat", "CrossLanguageDefinitionId": { - "parameters.collectionformat.CollectionFormatClient.query.multi": "multi", - "parameters.collectionformat.CollectionFormatClient.query.ssv": "ssv", - "parameters.collectionformat.CollectionFormatClient.query.tsv": "tsv", - "parameters.collectionformat.CollectionFormatClient.query.pipes": "pipes", - "parameters.collectionformat.CollectionFormatClient.query.csv": "csv", - "parameters.collectionformat.CollectionFormatClient.header.csv": "csv" + "parameters.collectionformat.CollectionFormatClient.query.multi": "Parameters.CollectionFormat.Query.multi", + "parameters.collectionformat.CollectionFormatClient.query.ssv": "Parameters.CollectionFormat.Query.ssv", + "parameters.collectionformat.CollectionFormatClient.query.tsv": "Parameters.CollectionFormat.Query.tsv", + "parameters.collectionformat.CollectionFormatClient.query.pipes": "Parameters.CollectionFormat.Query.pipes", + "parameters.collectionformat.CollectionFormatClient.query.csv": "Parameters.CollectionFormat.Query.csv", + "parameters.collectionformat.CollectionFormatClient.header.csv": "Parameters.CollectionFormat.Header.csv" } } \ No newline at end of file diff --git a/packages/typespec-python/test/azure/generated/parameters-spread/apiview_mapping_python.json b/packages/typespec-python/test/azure/generated/parameters-spread/apiview_mapping_python.json index b8895927f0b..3995986ad8b 100644 --- a/packages/typespec-python/test/azure/generated/parameters-spread/apiview_mapping_python.json +++ b/packages/typespec-python/test/azure/generated/parameters-spread/apiview_mapping_python.json @@ -5,9 +5,9 @@ "parameters.spread.models.SpreadAsRequestBodyRequest": "Parameters.Spread.Alias.SpreadAsRequestBodyRequest", "parameters.spread.models.SpreadAsRequestParameterRequest": "SpreadAsRequestParameterRequest", "parameters.spread.models.SpreadWithMultipleParametersRequest": "SpreadWithMultipleParametersRequest", - "parameters.spread.SpreadClient.model.spread_as_request_body": "spreadAsRequestBody", - "parameters.spread.SpreadClient.alias.spread_as_request_body": "spreadAsRequestBody", - "parameters.spread.SpreadClient.alias.spread_as_request_parameter": "spreadAsRequestParameter", - "parameters.spread.SpreadClient.alias.spread_with_multiple_parameters": "spreadWithMultipleParameters" + "parameters.spread.SpreadClient.model.spread_as_request_body": "Parameters.Spread.Model.spreadAsRequestBody", + "parameters.spread.SpreadClient.alias.spread_as_request_body": "Parameters.Spread.Alias.spreadAsRequestBody", + "parameters.spread.SpreadClient.alias.spread_as_request_parameter": "Parameters.Spread.Alias.spreadAsRequestParameter", + "parameters.spread.SpreadClient.alias.spread_with_multiple_parameters": "Parameters.Spread.Alias.spreadWithMultipleParameters" } } \ No newline at end of file diff --git a/packages/typespec-python/test/azure/generated/payload-content-negotiation/apiview_mapping_python.json b/packages/typespec-python/test/azure/generated/payload-content-negotiation/apiview_mapping_python.json index b63d693499f..7413f1ac33a 100644 --- a/packages/typespec-python/test/azure/generated/payload-content-negotiation/apiview_mapping_python.json +++ b/packages/typespec-python/test/azure/generated/payload-content-negotiation/apiview_mapping_python.json @@ -2,9 +2,9 @@ "CrossLanguagePackageId": "Payload.ContentNegotiation", "CrossLanguageDefinitionId": { "payload.contentnegotiation.models.PngImageAsJson": "Payload.ContentNegotiation.DifferentBody.PngImageAsJson", - "payload.contentnegotiation.ContentNegotiationClient.same_body.get_avatar_as_png": "getAvatarAsPng", - "payload.contentnegotiation.ContentNegotiationClient.same_body.get_avatar_as_jpeg": "getAvatarAsJpeg", - "payload.contentnegotiation.ContentNegotiationClient.different_body.get_avatar_as_png": "getAvatarAsPng", - "payload.contentnegotiation.ContentNegotiationClient.different_body.get_avatar_as_json": "getAvatarAsJson" + "payload.contentnegotiation.ContentNegotiationClient.same_body.get_avatar_as_png": "Payload.ContentNegotiation.SameBody.getAvatarAsPng", + "payload.contentnegotiation.ContentNegotiationClient.same_body.get_avatar_as_jpeg": "Payload.ContentNegotiation.SameBody.getAvatarAsJpeg", + "payload.contentnegotiation.ContentNegotiationClient.different_body.get_avatar_as_png": "Payload.ContentNegotiation.DifferentBody.getAvatarAsPng", + "payload.contentnegotiation.ContentNegotiationClient.different_body.get_avatar_as_json": "Payload.ContentNegotiation.DifferentBody.getAvatarAsJson" } } \ No newline at end of file diff --git a/packages/typespec-python/test/azure/generated/payload-json-merge-patch/apiview_mapping_python.json b/packages/typespec-python/test/azure/generated/payload-json-merge-patch/apiview_mapping_python.json index f9e0de04883..e006254f6da 100644 --- a/packages/typespec-python/test/azure/generated/payload-json-merge-patch/apiview_mapping_python.json +++ b/packages/typespec-python/test/azure/generated/payload-json-merge-patch/apiview_mapping_python.json @@ -4,8 +4,8 @@ "payload.jsonmergepatch.models.InnerModel": "Payload.JsonMergePatch.InnerModel", "payload.jsonmergepatch.models.Resource": "Payload.JsonMergePatch.Resource", "payload.jsonmergepatch.models.ResourcePatch": "Payload.JsonMergePatch.ResourcePatch", - "payload.jsonmergepatch.JsonMergePatchClient.create_resource": "createResource", - "payload.jsonmergepatch.JsonMergePatchClient.update_resource": "updateResource", - "payload.jsonmergepatch.JsonMergePatchClient.update_optional_resource": "updateOptionalResource" + "payload.jsonmergepatch.JsonMergePatchClient.create_resource": "Payload.JsonMergePatch.createResource", + "payload.jsonmergepatch.JsonMergePatchClient.update_resource": "Payload.JsonMergePatch.updateResource", + "payload.jsonmergepatch.JsonMergePatchClient.update_optional_resource": "Payload.JsonMergePatch.updateOptionalResource" } } \ No newline at end of file diff --git a/packages/typespec-python/test/azure/generated/payload-media-type/apiview_mapping_python.json b/packages/typespec-python/test/azure/generated/payload-media-type/apiview_mapping_python.json index 40e0faf12dd..8e6886fc7f7 100644 --- a/packages/typespec-python/test/azure/generated/payload-media-type/apiview_mapping_python.json +++ b/packages/typespec-python/test/azure/generated/payload-media-type/apiview_mapping_python.json @@ -1,9 +1,9 @@ { "CrossLanguagePackageId": "Payload.MediaType", "CrossLanguageDefinitionId": { - "payload.mediatype.MediaTypeClient.string_body.send_as_text": "sendAsText", - "payload.mediatype.MediaTypeClient.string_body.get_as_text": "getAsText", - "payload.mediatype.MediaTypeClient.string_body.send_as_json": "sendAsJson", - "payload.mediatype.MediaTypeClient.string_body.get_as_json": "getAsJson" + "payload.mediatype.MediaTypeClient.string_body.send_as_text": "Payload.MediaType.StringBody.sendAsText", + "payload.mediatype.MediaTypeClient.string_body.get_as_text": "Payload.MediaType.StringBody.getAsText", + "payload.mediatype.MediaTypeClient.string_body.send_as_json": "Payload.MediaType.StringBody.sendAsJson", + "payload.mediatype.MediaTypeClient.string_body.get_as_json": "Payload.MediaType.StringBody.getAsJson" } } \ No newline at end of file diff --git a/packages/typespec-python/test/azure/generated/payload-multipart/apiview_mapping_python.json b/packages/typespec-python/test/azure/generated/payload-multipart/apiview_mapping_python.json index ea028a8959f..d8a852d6ee3 100644 --- a/packages/typespec-python/test/azure/generated/payload-multipart/apiview_mapping_python.json +++ b/packages/typespec-python/test/azure/generated/payload-multipart/apiview_mapping_python.json @@ -9,13 +9,13 @@ "payload.multipart.models.JsonPartRequest": "Payload.MultiPart.JsonPartRequest", "payload.multipart.models.MultiBinaryPartsRequest": "Payload.MultiPart.MultiBinaryPartsRequest", "payload.multipart.models.MultiPartRequest": "Payload.MultiPart.MultiPartRequest", - "payload.multipart.MultiPartClient.form_data.basic": "basic", - "payload.multipart.MultiPartClient.form_data.complex": "complex", - "payload.multipart.MultiPartClient.form_data.json_part": "jsonPart", - "payload.multipart.MultiPartClient.form_data.binary_array_parts": "binaryArrayParts", - "payload.multipart.MultiPartClient.form_data.json_array_parts": "jsonArrayParts", - "payload.multipart.MultiPartClient.form_data.multi_binary_parts": "multiBinaryParts", - "payload.multipart.MultiPartClient.form_data.check_file_name_and_content_type": "checkFileNameAndContentType", - "payload.multipart.MultiPartClient.form_data.anonymous_model": "anonymousModel" + "payload.multipart.MultiPartClient.form_data.basic": "Payload.MultiPart.FormData.basic", + "payload.multipart.MultiPartClient.form_data.complex": "Payload.MultiPart.FormData.complex", + "payload.multipart.MultiPartClient.form_data.json_part": "Payload.MultiPart.FormData.jsonPart", + "payload.multipart.MultiPartClient.form_data.binary_array_parts": "Payload.MultiPart.FormData.binaryArrayParts", + "payload.multipart.MultiPartClient.form_data.json_array_parts": "Payload.MultiPart.FormData.jsonArrayParts", + "payload.multipart.MultiPartClient.form_data.multi_binary_parts": "Payload.MultiPart.FormData.multiBinaryParts", + "payload.multipart.MultiPartClient.form_data.check_file_name_and_content_type": "Payload.MultiPart.FormData.checkFileNameAndContentType", + "payload.multipart.MultiPartClient.form_data.anonymous_model": "Payload.MultiPart.FormData.anonymousModel" } } \ No newline at end of file diff --git a/packages/typespec-python/test/azure/generated/payload-pageable/apiview_mapping_python.json b/packages/typespec-python/test/azure/generated/payload-pageable/apiview_mapping_python.json index 723e29dd073..33f7d3ca830 100644 --- a/packages/typespec-python/test/azure/generated/payload-pageable/apiview_mapping_python.json +++ b/packages/typespec-python/test/azure/generated/payload-pageable/apiview_mapping_python.json @@ -2,6 +2,6 @@ "CrossLanguagePackageId": "Payload.Pageable", "CrossLanguageDefinitionId": { "payload.pageable.models.User": "Payload.Pageable.User", - "payload.pageable.PageableClient.list": "list" + "payload.pageable.PageableClient.list": "Payload.Pageable.list" } } \ No newline at end of file diff --git a/packages/typespec-python/test/azure/generated/resiliency-srv-driven1/apiview_mapping_python.json b/packages/typespec-python/test/azure/generated/resiliency-srv-driven1/apiview_mapping_python.json index 2aa0d231f53..cca76b075c5 100644 --- a/packages/typespec-python/test/azure/generated/resiliency-srv-driven1/apiview_mapping_python.json +++ b/packages/typespec-python/test/azure/generated/resiliency-srv-driven1/apiview_mapping_python.json @@ -1,8 +1,8 @@ { "CrossLanguagePackageId": "Resiliency.ServiceDriven", "CrossLanguageDefinitionId": { - "resiliency.srv.driven1.ResiliencyServiceDrivenClient.from_none": "fromNone", - "resiliency.srv.driven1.ResiliencyServiceDrivenClient.from_one_required": "fromOneRequired", - "resiliency.srv.driven1.ResiliencyServiceDrivenClient.from_one_optional": "fromOneOptional" + "resiliency.srv.driven1.ResiliencyServiceDrivenClient.from_none": "Resiliency.ServiceDriven.AddOptionalParam.fromNone", + "resiliency.srv.driven1.ResiliencyServiceDrivenClient.from_one_required": "Resiliency.ServiceDriven.AddOptionalParam.fromOneRequired", + "resiliency.srv.driven1.ResiliencyServiceDrivenClient.from_one_optional": "Resiliency.ServiceDriven.AddOptionalParam.fromOneOptional" } } \ No newline at end of file diff --git a/packages/typespec-python/test/azure/generated/resiliency-srv-driven2/apiview_mapping_python.json b/packages/typespec-python/test/azure/generated/resiliency-srv-driven2/apiview_mapping_python.json index 39acd2e028b..f1c922a67a2 100644 --- a/packages/typespec-python/test/azure/generated/resiliency-srv-driven2/apiview_mapping_python.json +++ b/packages/typespec-python/test/azure/generated/resiliency-srv-driven2/apiview_mapping_python.json @@ -1,9 +1,9 @@ { "CrossLanguagePackageId": "Resiliency.ServiceDriven", "CrossLanguageDefinitionId": { - "resiliency.srv.driven2.ResiliencyServiceDrivenClient.add_operation": "addOperation", - "resiliency.srv.driven2.ResiliencyServiceDrivenClient.from_none": "fromNone", - "resiliency.srv.driven2.ResiliencyServiceDrivenClient.from_one_required": "fromOneRequired", - "resiliency.srv.driven2.ResiliencyServiceDrivenClient.from_one_optional": "fromOneOptional" + "resiliency.srv.driven2.ResiliencyServiceDrivenClient.add_operation": "Resiliency.ServiceDriven.addOperation", + "resiliency.srv.driven2.ResiliencyServiceDrivenClient.from_none": "Resiliency.ServiceDriven.AddOptionalParam.fromNone", + "resiliency.srv.driven2.ResiliencyServiceDrivenClient.from_one_required": "Resiliency.ServiceDriven.AddOptionalParam.fromOneRequired", + "resiliency.srv.driven2.ResiliencyServiceDrivenClient.from_one_optional": "Resiliency.ServiceDriven.AddOptionalParam.fromOneOptional" } } \ No newline at end of file diff --git a/packages/typespec-python/test/azure/generated/serialization-encoded-name-json/apiview_mapping_python.json b/packages/typespec-python/test/azure/generated/serialization-encoded-name-json/apiview_mapping_python.json index 7612224f552..cd41bacf9ac 100644 --- a/packages/typespec-python/test/azure/generated/serialization-encoded-name-json/apiview_mapping_python.json +++ b/packages/typespec-python/test/azure/generated/serialization-encoded-name-json/apiview_mapping_python.json @@ -2,7 +2,7 @@ "CrossLanguagePackageId": "Serialization.EncodedName.Json", "CrossLanguageDefinitionId": { "serialization.encodedname.json.models.JsonEncodedNameModel": "Serialization.EncodedName.Json.Property.JsonEncodedNameModel", - "serialization.encodedname.json.JsonClient.property.send": "send", - "serialization.encodedname.json.JsonClient.property.get": "get" + "serialization.encodedname.json.JsonClient.property.send": "Serialization.EncodedName.Json.Property.send", + "serialization.encodedname.json.JsonClient.property.get": "Serialization.EncodedName.Json.Property.get" } } \ No newline at end of file diff --git a/packages/typespec-python/test/azure/generated/server-endpoint-not-defined/apiview_mapping_python.json b/packages/typespec-python/test/azure/generated/server-endpoint-not-defined/apiview_mapping_python.json index 84506f1998a..2468a28cca8 100644 --- a/packages/typespec-python/test/azure/generated/server-endpoint-not-defined/apiview_mapping_python.json +++ b/packages/typespec-python/test/azure/generated/server-endpoint-not-defined/apiview_mapping_python.json @@ -1,6 +1,6 @@ { "CrossLanguagePackageId": "Server.Endpoint.NotDefined", "CrossLanguageDefinitionId": { - "server.endpoint.notdefined.NotDefinedClient.valid": "valid" + "server.endpoint.notdefined.NotDefinedClient.valid": "Server.Endpoint.NotDefined.valid" } } \ No newline at end of file diff --git a/packages/typespec-python/test/azure/generated/server-path-multiple/apiview_mapping_python.json b/packages/typespec-python/test/azure/generated/server-path-multiple/apiview_mapping_python.json index 0cd8966a8e3..10c839bafa9 100644 --- a/packages/typespec-python/test/azure/generated/server-path-multiple/apiview_mapping_python.json +++ b/packages/typespec-python/test/azure/generated/server-path-multiple/apiview_mapping_python.json @@ -2,7 +2,7 @@ "CrossLanguagePackageId": "Server.Path.Multiple", "CrossLanguageDefinitionId": { "server.path.multiple.models.Versions": "Server.Path.Multiple.Versions", - "server.path.multiple.MultipleClient.no_operation_params": "noOperationParams", - "server.path.multiple.MultipleClient.with_operation_path_param": "withOperationPathParam" + "server.path.multiple.MultipleClient.no_operation_params": "Server.Path.Multiple.noOperationParams", + "server.path.multiple.MultipleClient.with_operation_path_param": "Server.Path.Multiple.withOperationPathParam" } } \ No newline at end of file diff --git a/packages/typespec-python/test/azure/generated/server-path-single/apiview_mapping_python.json b/packages/typespec-python/test/azure/generated/server-path-single/apiview_mapping_python.json index 08afa9fe739..06f19423bcc 100644 --- a/packages/typespec-python/test/azure/generated/server-path-single/apiview_mapping_python.json +++ b/packages/typespec-python/test/azure/generated/server-path-single/apiview_mapping_python.json @@ -1,6 +1,6 @@ { "CrossLanguagePackageId": "Server.Path.Single", "CrossLanguageDefinitionId": { - "server.path.single.SingleClient.my_op": "myOp" + "server.path.single.SingleClient.my_op": "Server.Path.Single.myOp" } } \ No newline at end of file diff --git a/packages/typespec-python/test/azure/generated/server-versions-not-versioned/apiview_mapping_python.json b/packages/typespec-python/test/azure/generated/server-versions-not-versioned/apiview_mapping_python.json index 64b3db24c61..3f608843d86 100644 --- a/packages/typespec-python/test/azure/generated/server-versions-not-versioned/apiview_mapping_python.json +++ b/packages/typespec-python/test/azure/generated/server-versions-not-versioned/apiview_mapping_python.json @@ -1,8 +1,8 @@ { "CrossLanguagePackageId": "Server.Versions.NotVersioned", "CrossLanguageDefinitionId": { - "server.versions.notversioned.NotVersionedClient.without_api_version": "withoutApiVersion", - "server.versions.notversioned.NotVersionedClient.with_query_api_version": "withQueryApiVersion", - "server.versions.notversioned.NotVersionedClient.with_path_api_version": "withPathApiVersion" + "server.versions.notversioned.NotVersionedClient.without_api_version": "Server.Versions.NotVersioned.withoutApiVersion", + "server.versions.notversioned.NotVersionedClient.with_query_api_version": "Server.Versions.NotVersioned.withQueryApiVersion", + "server.versions.notversioned.NotVersionedClient.with_path_api_version": "Server.Versions.NotVersioned.withPathApiVersion" } } \ No newline at end of file diff --git a/packages/typespec-python/test/azure/generated/server-versions-versioned/apiview_mapping_python.json b/packages/typespec-python/test/azure/generated/server-versions-versioned/apiview_mapping_python.json index be326119d82..09662911fe6 100644 --- a/packages/typespec-python/test/azure/generated/server-versions-versioned/apiview_mapping_python.json +++ b/packages/typespec-python/test/azure/generated/server-versions-versioned/apiview_mapping_python.json @@ -1,9 +1,9 @@ { "CrossLanguagePackageId": "Server.Versions.Versioned", "CrossLanguageDefinitionId": { - "server.versions.versioned.VersionedClient.without_api_version": "withoutApiVersion", - "server.versions.versioned.VersionedClient.with_query_api_version": "withQueryApiVersion", - "server.versions.versioned.VersionedClient.with_path_api_version": "withPathApiVersion", - "server.versions.versioned.VersionedClient.with_query_old_api_version": "withQueryOldApiVersion" + "server.versions.versioned.VersionedClient.without_api_version": "Server.Versions.Versioned.withoutApiVersion", + "server.versions.versioned.VersionedClient.with_query_api_version": "Server.Versions.Versioned.withQueryApiVersion", + "server.versions.versioned.VersionedClient.with_path_api_version": "Server.Versions.Versioned.withPathApiVersion", + "server.versions.versioned.VersionedClient.with_query_old_api_version": "Server.Versions.Versioned.withQueryOldApiVersion" } } \ No newline at end of file diff --git a/packages/typespec-python/test/azure/generated/special-headers-conditional-request/apiview_mapping_python.json b/packages/typespec-python/test/azure/generated/special-headers-conditional-request/apiview_mapping_python.json index de17776816d..b3c393056f6 100644 --- a/packages/typespec-python/test/azure/generated/special-headers-conditional-request/apiview_mapping_python.json +++ b/packages/typespec-python/test/azure/generated/special-headers-conditional-request/apiview_mapping_python.json @@ -1,7 +1,7 @@ { "CrossLanguagePackageId": "SpecialHeaders.ConditionalRequest", "CrossLanguageDefinitionId": { - "specialheaders.conditionalrequest.ConditionalRequestClient.post_if_match": "postIfMatch", - "specialheaders.conditionalrequest.ConditionalRequestClient.post_if_none_match": "postIfNoneMatch" + "specialheaders.conditionalrequest.ConditionalRequestClient.post_if_match": "SpecialHeaders.ConditionalRequest.postIfMatch", + "specialheaders.conditionalrequest.ConditionalRequestClient.post_if_none_match": "SpecialHeaders.ConditionalRequest.postIfNoneMatch" } } \ No newline at end of file diff --git a/packages/typespec-python/test/azure/generated/special-headers-repeatability/apiview_mapping_python.json b/packages/typespec-python/test/azure/generated/special-headers-repeatability/apiview_mapping_python.json index 1e88229bd79..7375b819443 100644 --- a/packages/typespec-python/test/azure/generated/special-headers-repeatability/apiview_mapping_python.json +++ b/packages/typespec-python/test/azure/generated/special-headers-repeatability/apiview_mapping_python.json @@ -1,6 +1,6 @@ { "CrossLanguagePackageId": "SpecialHeaders.Repeatability", "CrossLanguageDefinitionId": { - "specialheaders.repeatability.RepeatabilityClient.immediate_success": "immediateSuccess" + "specialheaders.repeatability.RepeatabilityClient.immediate_success": "SpecialHeaders.Repeatability.immediateSuccess" } } \ No newline at end of file diff --git a/packages/typespec-python/test/azure/generated/special-words/apiview_mapping_python.json b/packages/typespec-python/test/azure/generated/special-words/apiview_mapping_python.json index e669e182f4b..0e31f4ac4f0 100644 --- a/packages/typespec-python/test/azure/generated/special-words/apiview_mapping_python.json +++ b/packages/typespec-python/test/azure/generated/special-words/apiview_mapping_python.json @@ -35,106 +35,106 @@ "specialwords.models.WhileModel": "SpecialWords.Models.while", "specialwords.models.WithModel": "SpecialWords.Models.with", "specialwords.models.YieldModel": "SpecialWords.Models.yield", - "specialwords.SpecialWordsClient.models.with_and": "withAnd", - "specialwords.SpecialWordsClient.models.with_as": "withAs", - "specialwords.SpecialWordsClient.models.with_assert": "withAssert", - "specialwords.SpecialWordsClient.models.with_async": "withAsync", - "specialwords.SpecialWordsClient.models.with_await": "withAwait", - "specialwords.SpecialWordsClient.models.with_break": "withBreak", - "specialwords.SpecialWordsClient.models.with_class": "withClass", - "specialwords.SpecialWordsClient.models.with_constructor": "withConstructor", - "specialwords.SpecialWordsClient.models.with_continue": "withContinue", - "specialwords.SpecialWordsClient.models.with_def": "withDef", - "specialwords.SpecialWordsClient.models.with_del": "withDel", - "specialwords.SpecialWordsClient.models.with_elif": "withElif", - "specialwords.SpecialWordsClient.models.with_else": "withElse", - "specialwords.SpecialWordsClient.models.with_except": "withExcept", - "specialwords.SpecialWordsClient.models.with_exec": "withExec", - "specialwords.SpecialWordsClient.models.with_finally": "withFinally", - "specialwords.SpecialWordsClient.models.with_for": "withFor", - "specialwords.SpecialWordsClient.models.with_from": "withFrom", - "specialwords.SpecialWordsClient.models.with_global": "withGlobal", - "specialwords.SpecialWordsClient.models.with_if": "withIf", - "specialwords.SpecialWordsClient.models.with_import": "withImport", - "specialwords.SpecialWordsClient.models.with_in": "withIn", - "specialwords.SpecialWordsClient.models.with_is": "withIs", - "specialwords.SpecialWordsClient.models.with_lambda": "withLambda", - "specialwords.SpecialWordsClient.models.with_not": "withNot", - "specialwords.SpecialWordsClient.models.with_or": "withOr", - "specialwords.SpecialWordsClient.models.with_pass": "withPass", - "specialwords.SpecialWordsClient.models.with_raise": "withRaise", - "specialwords.SpecialWordsClient.models.with_return": "withReturn", - "specialwords.SpecialWordsClient.models.with_try": "withTry", - "specialwords.SpecialWordsClient.models.with_while": "withWhile", - "specialwords.SpecialWordsClient.models.with_with": "withWith", - "specialwords.SpecialWordsClient.models.with_yield": "withYield", - "specialwords.SpecialWordsClient.model_properties.same_as_model": "sameAsModel", - "specialwords.SpecialWordsClient.operations.and_method": "and", - "specialwords.SpecialWordsClient.operations.as_method": "as", - "specialwords.SpecialWordsClient.operations.assert_method": "assert", - "specialwords.SpecialWordsClient.operations.async_method": "async", - "specialwords.SpecialWordsClient.operations.await_method": "await", - "specialwords.SpecialWordsClient.operations.break_method": "break", - "specialwords.SpecialWordsClient.operations.class_method": "class", - "specialwords.SpecialWordsClient.operations.constructor": "constructor", - "specialwords.SpecialWordsClient.operations.continue_method": "continue", - "specialwords.SpecialWordsClient.operations.def_method": "def", - "specialwords.SpecialWordsClient.operations.del_method": "del", - "specialwords.SpecialWordsClient.operations.elif_method": "elif", - "specialwords.SpecialWordsClient.operations.else_method": "else", - "specialwords.SpecialWordsClient.operations.except_method": "except", - "specialwords.SpecialWordsClient.operations.exec_method": "exec", - "specialwords.SpecialWordsClient.operations.finally_method": "finally", - "specialwords.SpecialWordsClient.operations.for_method": "for", - "specialwords.SpecialWordsClient.operations.from_method": "from", - "specialwords.SpecialWordsClient.operations.global_method": "global", - "specialwords.SpecialWordsClient.operations.if_method": "if", - "specialwords.SpecialWordsClient.operations.import_method": "import", - "specialwords.SpecialWordsClient.operations.in_method": "in", - "specialwords.SpecialWordsClient.operations.is_method": "is", - "specialwords.SpecialWordsClient.operations.lambda_method": "lambda", - "specialwords.SpecialWordsClient.operations.not_method": "not", - "specialwords.SpecialWordsClient.operations.or_method": "or", - "specialwords.SpecialWordsClient.operations.pass_method": "pass", - "specialwords.SpecialWordsClient.operations.raise_method": "raise", - "specialwords.SpecialWordsClient.operations.return_method": "return", - "specialwords.SpecialWordsClient.operations.try_method": "try", - "specialwords.SpecialWordsClient.operations.while_method": "while", - "specialwords.SpecialWordsClient.operations.with_method": "with", - "specialwords.SpecialWordsClient.operations.yield_method": "yield", - "specialwords.SpecialWordsClient.parameters.with_and": "withAnd", - "specialwords.SpecialWordsClient.parameters.with_as": "withAs", - "specialwords.SpecialWordsClient.parameters.with_assert": "withAssert", - "specialwords.SpecialWordsClient.parameters.with_async": "withAsync", - "specialwords.SpecialWordsClient.parameters.with_await": "withAwait", - "specialwords.SpecialWordsClient.parameters.with_break": "withBreak", - "specialwords.SpecialWordsClient.parameters.with_class": "withClass", - "specialwords.SpecialWordsClient.parameters.with_constructor": "withConstructor", - "specialwords.SpecialWordsClient.parameters.with_continue": "withContinue", - "specialwords.SpecialWordsClient.parameters.with_def": "withDef", - "specialwords.SpecialWordsClient.parameters.with_del": "withDel", - "specialwords.SpecialWordsClient.parameters.with_elif": "withElif", - "specialwords.SpecialWordsClient.parameters.with_else": "withElse", - "specialwords.SpecialWordsClient.parameters.with_except": "withExcept", - "specialwords.SpecialWordsClient.parameters.with_exec": "withExec", - "specialwords.SpecialWordsClient.parameters.with_finally": "withFinally", - "specialwords.SpecialWordsClient.parameters.with_for": "withFor", - "specialwords.SpecialWordsClient.parameters.with_from": "withFrom", - "specialwords.SpecialWordsClient.parameters.with_global": "withGlobal", - "specialwords.SpecialWordsClient.parameters.with_if": "withIf", - "specialwords.SpecialWordsClient.parameters.with_import": "withImport", - "specialwords.SpecialWordsClient.parameters.with_in": "withIn", - "specialwords.SpecialWordsClient.parameters.with_is": "withIs", - "specialwords.SpecialWordsClient.parameters.with_lambda": "withLambda", - "specialwords.SpecialWordsClient.parameters.with_not": "withNot", - "specialwords.SpecialWordsClient.parameters.with_or": "withOr", - "specialwords.SpecialWordsClient.parameters.with_pass": "withPass", - "specialwords.SpecialWordsClient.parameters.with_raise": "withRaise", - "specialwords.SpecialWordsClient.parameters.with_return": "withReturn", - "specialwords.SpecialWordsClient.parameters.with_try": "withTry", - "specialwords.SpecialWordsClient.parameters.with_while": "withWhile", - "specialwords.SpecialWordsClient.parameters.with_with": "withWith", - "specialwords.SpecialWordsClient.parameters.with_yield": "withYield", - "specialwords.SpecialWordsClient.parameters.with_cancellation_token": "withCancellationToken" + "specialwords.SpecialWordsClient.models.with_and": "SpecialWords.Models.withAnd", + "specialwords.SpecialWordsClient.models.with_as": "SpecialWords.Models.withAs", + "specialwords.SpecialWordsClient.models.with_assert": "SpecialWords.Models.withAssert", + "specialwords.SpecialWordsClient.models.with_async": "SpecialWords.Models.withAsync", + "specialwords.SpecialWordsClient.models.with_await": "SpecialWords.Models.withAwait", + "specialwords.SpecialWordsClient.models.with_break": "SpecialWords.Models.withBreak", + "specialwords.SpecialWordsClient.models.with_class": "SpecialWords.Models.withClass", + "specialwords.SpecialWordsClient.models.with_constructor": "SpecialWords.Models.withConstructor", + "specialwords.SpecialWordsClient.models.with_continue": "SpecialWords.Models.withContinue", + "specialwords.SpecialWordsClient.models.with_def": "SpecialWords.Models.withDef", + "specialwords.SpecialWordsClient.models.with_del": "SpecialWords.Models.withDel", + "specialwords.SpecialWordsClient.models.with_elif": "SpecialWords.Models.withElif", + "specialwords.SpecialWordsClient.models.with_else": "SpecialWords.Models.withElse", + "specialwords.SpecialWordsClient.models.with_except": "SpecialWords.Models.withExcept", + "specialwords.SpecialWordsClient.models.with_exec": "SpecialWords.Models.withExec", + "specialwords.SpecialWordsClient.models.with_finally": "SpecialWords.Models.withFinally", + "specialwords.SpecialWordsClient.models.with_for": "SpecialWords.Models.withFor", + "specialwords.SpecialWordsClient.models.with_from": "SpecialWords.Models.withFrom", + "specialwords.SpecialWordsClient.models.with_global": "SpecialWords.Models.withGlobal", + "specialwords.SpecialWordsClient.models.with_if": "SpecialWords.Models.withIf", + "specialwords.SpecialWordsClient.models.with_import": "SpecialWords.Models.withImport", + "specialwords.SpecialWordsClient.models.with_in": "SpecialWords.Models.withIn", + "specialwords.SpecialWordsClient.models.with_is": "SpecialWords.Models.withIs", + "specialwords.SpecialWordsClient.models.with_lambda": "SpecialWords.Models.withLambda", + "specialwords.SpecialWordsClient.models.with_not": "SpecialWords.Models.withNot", + "specialwords.SpecialWordsClient.models.with_or": "SpecialWords.Models.withOr", + "specialwords.SpecialWordsClient.models.with_pass": "SpecialWords.Models.withPass", + "specialwords.SpecialWordsClient.models.with_raise": "SpecialWords.Models.withRaise", + "specialwords.SpecialWordsClient.models.with_return": "SpecialWords.Models.withReturn", + "specialwords.SpecialWordsClient.models.with_try": "SpecialWords.Models.withTry", + "specialwords.SpecialWordsClient.models.with_while": "SpecialWords.Models.withWhile", + "specialwords.SpecialWordsClient.models.with_with": "SpecialWords.Models.withWith", + "specialwords.SpecialWordsClient.models.with_yield": "SpecialWords.Models.withYield", + "specialwords.SpecialWordsClient.model_properties.same_as_model": "SpecialWords.ModelProperties.sameAsModel", + "specialwords.SpecialWordsClient.operations.and_method": "SpecialWords.Operations.and", + "specialwords.SpecialWordsClient.operations.as_method": "SpecialWords.Operations.as", + "specialwords.SpecialWordsClient.operations.assert_method": "SpecialWords.Operations.assert", + "specialwords.SpecialWordsClient.operations.async_method": "SpecialWords.Operations.async", + "specialwords.SpecialWordsClient.operations.await_method": "SpecialWords.Operations.await", + "specialwords.SpecialWordsClient.operations.break_method": "SpecialWords.Operations.break", + "specialwords.SpecialWordsClient.operations.class_method": "SpecialWords.Operations.class", + "specialwords.SpecialWordsClient.operations.constructor": "SpecialWords.Operations.constructor", + "specialwords.SpecialWordsClient.operations.continue_method": "SpecialWords.Operations.continue", + "specialwords.SpecialWordsClient.operations.def_method": "SpecialWords.Operations.def", + "specialwords.SpecialWordsClient.operations.del_method": "SpecialWords.Operations.del", + "specialwords.SpecialWordsClient.operations.elif_method": "SpecialWords.Operations.elif", + "specialwords.SpecialWordsClient.operations.else_method": "SpecialWords.Operations.else", + "specialwords.SpecialWordsClient.operations.except_method": "SpecialWords.Operations.except", + "specialwords.SpecialWordsClient.operations.exec_method": "SpecialWords.Operations.exec", + "specialwords.SpecialWordsClient.operations.finally_method": "SpecialWords.Operations.finally", + "specialwords.SpecialWordsClient.operations.for_method": "SpecialWords.Operations.for", + "specialwords.SpecialWordsClient.operations.from_method": "SpecialWords.Operations.from", + "specialwords.SpecialWordsClient.operations.global_method": "SpecialWords.Operations.global", + "specialwords.SpecialWordsClient.operations.if_method": "SpecialWords.Operations.if", + "specialwords.SpecialWordsClient.operations.import_method": "SpecialWords.Operations.import", + "specialwords.SpecialWordsClient.operations.in_method": "SpecialWords.Operations.in", + "specialwords.SpecialWordsClient.operations.is_method": "SpecialWords.Operations.is", + "specialwords.SpecialWordsClient.operations.lambda_method": "SpecialWords.Operations.lambda", + "specialwords.SpecialWordsClient.operations.not_method": "SpecialWords.Operations.not", + "specialwords.SpecialWordsClient.operations.or_method": "SpecialWords.Operations.or", + "specialwords.SpecialWordsClient.operations.pass_method": "SpecialWords.Operations.pass", + "specialwords.SpecialWordsClient.operations.raise_method": "SpecialWords.Operations.raise", + "specialwords.SpecialWordsClient.operations.return_method": "SpecialWords.Operations.return", + "specialwords.SpecialWordsClient.operations.try_method": "SpecialWords.Operations.try", + "specialwords.SpecialWordsClient.operations.while_method": "SpecialWords.Operations.while", + "specialwords.SpecialWordsClient.operations.with_method": "SpecialWords.Operations.with", + "specialwords.SpecialWordsClient.operations.yield_method": "SpecialWords.Operations.yield", + "specialwords.SpecialWordsClient.parameters.with_and": "SpecialWords.Parameters.withAnd", + "specialwords.SpecialWordsClient.parameters.with_as": "SpecialWords.Parameters.withAs", + "specialwords.SpecialWordsClient.parameters.with_assert": "SpecialWords.Parameters.withAssert", + "specialwords.SpecialWordsClient.parameters.with_async": "SpecialWords.Parameters.withAsync", + "specialwords.SpecialWordsClient.parameters.with_await": "SpecialWords.Parameters.withAwait", + "specialwords.SpecialWordsClient.parameters.with_break": "SpecialWords.Parameters.withBreak", + "specialwords.SpecialWordsClient.parameters.with_class": "SpecialWords.Parameters.withClass", + "specialwords.SpecialWordsClient.parameters.with_constructor": "SpecialWords.Parameters.withConstructor", + "specialwords.SpecialWordsClient.parameters.with_continue": "SpecialWords.Parameters.withContinue", + "specialwords.SpecialWordsClient.parameters.with_def": "SpecialWords.Parameters.withDef", + "specialwords.SpecialWordsClient.parameters.with_del": "SpecialWords.Parameters.withDel", + "specialwords.SpecialWordsClient.parameters.with_elif": "SpecialWords.Parameters.withElif", + "specialwords.SpecialWordsClient.parameters.with_else": "SpecialWords.Parameters.withElse", + "specialwords.SpecialWordsClient.parameters.with_except": "SpecialWords.Parameters.withExcept", + "specialwords.SpecialWordsClient.parameters.with_exec": "SpecialWords.Parameters.withExec", + "specialwords.SpecialWordsClient.parameters.with_finally": "SpecialWords.Parameters.withFinally", + "specialwords.SpecialWordsClient.parameters.with_for": "SpecialWords.Parameters.withFor", + "specialwords.SpecialWordsClient.parameters.with_from": "SpecialWords.Parameters.withFrom", + "specialwords.SpecialWordsClient.parameters.with_global": "SpecialWords.Parameters.withGlobal", + "specialwords.SpecialWordsClient.parameters.with_if": "SpecialWords.Parameters.withIf", + "specialwords.SpecialWordsClient.parameters.with_import": "SpecialWords.Parameters.withImport", + "specialwords.SpecialWordsClient.parameters.with_in": "SpecialWords.Parameters.withIn", + "specialwords.SpecialWordsClient.parameters.with_is": "SpecialWords.Parameters.withIs", + "specialwords.SpecialWordsClient.parameters.with_lambda": "SpecialWords.Parameters.withLambda", + "specialwords.SpecialWordsClient.parameters.with_not": "SpecialWords.Parameters.withNot", + "specialwords.SpecialWordsClient.parameters.with_or": "SpecialWords.Parameters.withOr", + "specialwords.SpecialWordsClient.parameters.with_pass": "SpecialWords.Parameters.withPass", + "specialwords.SpecialWordsClient.parameters.with_raise": "SpecialWords.Parameters.withRaise", + "specialwords.SpecialWordsClient.parameters.with_return": "SpecialWords.Parameters.withReturn", + "specialwords.SpecialWordsClient.parameters.with_try": "SpecialWords.Parameters.withTry", + "specialwords.SpecialWordsClient.parameters.with_while": "SpecialWords.Parameters.withWhile", + "specialwords.SpecialWordsClient.parameters.with_with": "SpecialWords.Parameters.withWith", + "specialwords.SpecialWordsClient.parameters.with_yield": "SpecialWords.Parameters.withYield", + "specialwords.SpecialWordsClient.parameters.with_cancellation_token": "SpecialWords.Parameters.withCancellationToken" } } \ No newline at end of file diff --git a/packages/typespec-python/test/azure/generated/typetest-array/apiview_mapping_python.json b/packages/typespec-python/test/azure/generated/typetest-array/apiview_mapping_python.json index a11e2d72e68..1f7c3769134 100644 --- a/packages/typespec-python/test/azure/generated/typetest-array/apiview_mapping_python.json +++ b/packages/typespec-python/test/azure/generated/typetest-array/apiview_mapping_python.json @@ -2,25 +2,25 @@ "CrossLanguagePackageId": "Type.Array", "CrossLanguageDefinitionId": { "typetest.array.models.InnerModel": "Type.Array.InnerModel", - "typetest.array.ArrayClient.int32_value.get": "get", - "typetest.array.ArrayClient.int32_value.put": "put", - "typetest.array.ArrayClient.int64_value.get": "get", - "typetest.array.ArrayClient.int64_value.put": "put", - "typetest.array.ArrayClient.boolean_value.get": "get", - "typetest.array.ArrayClient.boolean_value.put": "put", - "typetest.array.ArrayClient.string_value.get": "get", - "typetest.array.ArrayClient.string_value.put": "put", - "typetest.array.ArrayClient.float32_value.get": "get", - "typetest.array.ArrayClient.float32_value.put": "put", - "typetest.array.ArrayClient.datetime_value.get": "get", - "typetest.array.ArrayClient.datetime_value.put": "put", - "typetest.array.ArrayClient.duration_value.get": "get", - "typetest.array.ArrayClient.duration_value.put": "put", - "typetest.array.ArrayClient.unknown_value.get": "get", - "typetest.array.ArrayClient.unknown_value.put": "put", - "typetest.array.ArrayClient.model_value.get": "get", - "typetest.array.ArrayClient.model_value.put": "put", - "typetest.array.ArrayClient.nullable_float_value.get": "get", - "typetest.array.ArrayClient.nullable_float_value.put": "put" + "typetest.array.ArrayClient.int32_value.get": "Type.Array.Int32Value.get", + "typetest.array.ArrayClient.int32_value.put": "Type.Array.Int32Value.put", + "typetest.array.ArrayClient.int64_value.get": "Type.Array.Int64Value.get", + "typetest.array.ArrayClient.int64_value.put": "Type.Array.Int64Value.put", + "typetest.array.ArrayClient.boolean_value.get": "Type.Array.BooleanValue.get", + "typetest.array.ArrayClient.boolean_value.put": "Type.Array.BooleanValue.put", + "typetest.array.ArrayClient.string_value.get": "Type.Array.StringValue.get", + "typetest.array.ArrayClient.string_value.put": "Type.Array.StringValue.put", + "typetest.array.ArrayClient.float32_value.get": "Type.Array.Float32Value.get", + "typetest.array.ArrayClient.float32_value.put": "Type.Array.Float32Value.put", + "typetest.array.ArrayClient.datetime_value.get": "Type.Array.DatetimeValue.get", + "typetest.array.ArrayClient.datetime_value.put": "Type.Array.DatetimeValue.put", + "typetest.array.ArrayClient.duration_value.get": "Type.Array.DurationValue.get", + "typetest.array.ArrayClient.duration_value.put": "Type.Array.DurationValue.put", + "typetest.array.ArrayClient.unknown_value.get": "Type.Array.UnknownValue.get", + "typetest.array.ArrayClient.unknown_value.put": "Type.Array.UnknownValue.put", + "typetest.array.ArrayClient.model_value.get": "Type.Array.ModelValue.get", + "typetest.array.ArrayClient.model_value.put": "Type.Array.ModelValue.put", + "typetest.array.ArrayClient.nullable_float_value.get": "Type.Array.NullableFloatValue.get", + "typetest.array.ArrayClient.nullable_float_value.put": "Type.Array.NullableFloatValue.put" } } \ No newline at end of file diff --git a/packages/typespec-python/test/azure/generated/typetest-dictionary/apiview_mapping_python.json b/packages/typespec-python/test/azure/generated/typetest-dictionary/apiview_mapping_python.json index e1ef0c4f018..c0bc8d9fec4 100644 --- a/packages/typespec-python/test/azure/generated/typetest-dictionary/apiview_mapping_python.json +++ b/packages/typespec-python/test/azure/generated/typetest-dictionary/apiview_mapping_python.json @@ -2,27 +2,27 @@ "CrossLanguagePackageId": "Type.Dictionary", "CrossLanguageDefinitionId": { "typetest.dictionary.models.InnerModel": "Type.Dictionary.InnerModel", - "typetest.dictionary.DictionaryClient.int32_value.get": "get", - "typetest.dictionary.DictionaryClient.int32_value.put": "put", - "typetest.dictionary.DictionaryClient.int64_value.get": "get", - "typetest.dictionary.DictionaryClient.int64_value.put": "put", - "typetest.dictionary.DictionaryClient.boolean_value.get": "get", - "typetest.dictionary.DictionaryClient.boolean_value.put": "put", - "typetest.dictionary.DictionaryClient.string_value.get": "get", - "typetest.dictionary.DictionaryClient.string_value.put": "put", - "typetest.dictionary.DictionaryClient.float32_value.get": "get", - "typetest.dictionary.DictionaryClient.float32_value.put": "put", - "typetest.dictionary.DictionaryClient.datetime_value.get": "get", - "typetest.dictionary.DictionaryClient.datetime_value.put": "put", - "typetest.dictionary.DictionaryClient.duration_value.get": "get", - "typetest.dictionary.DictionaryClient.duration_value.put": "put", - "typetest.dictionary.DictionaryClient.unknown_value.get": "get", - "typetest.dictionary.DictionaryClient.unknown_value.put": "put", - "typetest.dictionary.DictionaryClient.model_value.get": "get", - "typetest.dictionary.DictionaryClient.model_value.put": "put", - "typetest.dictionary.DictionaryClient.recursive_model_value.get": "get", - "typetest.dictionary.DictionaryClient.recursive_model_value.put": "put", - "typetest.dictionary.DictionaryClient.nullable_float_value.get": "get", - "typetest.dictionary.DictionaryClient.nullable_float_value.put": "put" + "typetest.dictionary.DictionaryClient.int32_value.get": "Type.Dictionary.Int32Value.get", + "typetest.dictionary.DictionaryClient.int32_value.put": "Type.Dictionary.Int32Value.put", + "typetest.dictionary.DictionaryClient.int64_value.get": "Type.Dictionary.Int64Value.get", + "typetest.dictionary.DictionaryClient.int64_value.put": "Type.Dictionary.Int64Value.put", + "typetest.dictionary.DictionaryClient.boolean_value.get": "Type.Dictionary.BooleanValue.get", + "typetest.dictionary.DictionaryClient.boolean_value.put": "Type.Dictionary.BooleanValue.put", + "typetest.dictionary.DictionaryClient.string_value.get": "Type.Dictionary.StringValue.get", + "typetest.dictionary.DictionaryClient.string_value.put": "Type.Dictionary.StringValue.put", + "typetest.dictionary.DictionaryClient.float32_value.get": "Type.Dictionary.Float32Value.get", + "typetest.dictionary.DictionaryClient.float32_value.put": "Type.Dictionary.Float32Value.put", + "typetest.dictionary.DictionaryClient.datetime_value.get": "Type.Dictionary.DatetimeValue.get", + "typetest.dictionary.DictionaryClient.datetime_value.put": "Type.Dictionary.DatetimeValue.put", + "typetest.dictionary.DictionaryClient.duration_value.get": "Type.Dictionary.DurationValue.get", + "typetest.dictionary.DictionaryClient.duration_value.put": "Type.Dictionary.DurationValue.put", + "typetest.dictionary.DictionaryClient.unknown_value.get": "Type.Dictionary.UnknownValue.get", + "typetest.dictionary.DictionaryClient.unknown_value.put": "Type.Dictionary.UnknownValue.put", + "typetest.dictionary.DictionaryClient.model_value.get": "Type.Dictionary.ModelValue.get", + "typetest.dictionary.DictionaryClient.model_value.put": "Type.Dictionary.ModelValue.put", + "typetest.dictionary.DictionaryClient.recursive_model_value.get": "Type.Dictionary.RecursiveModelValue.get", + "typetest.dictionary.DictionaryClient.recursive_model_value.put": "Type.Dictionary.RecursiveModelValue.put", + "typetest.dictionary.DictionaryClient.nullable_float_value.get": "Type.Dictionary.NullableFloatValue.get", + "typetest.dictionary.DictionaryClient.nullable_float_value.put": "Type.Dictionary.NullableFloatValue.put" } } \ No newline at end of file diff --git a/packages/typespec-python/test/azure/generated/typetest-enum-extensible/apiview_mapping_python.json b/packages/typespec-python/test/azure/generated/typetest-enum-extensible/apiview_mapping_python.json index d7af031d769..f340f88a7b3 100644 --- a/packages/typespec-python/test/azure/generated/typetest-enum-extensible/apiview_mapping_python.json +++ b/packages/typespec-python/test/azure/generated/typetest-enum-extensible/apiview_mapping_python.json @@ -2,9 +2,9 @@ "CrossLanguagePackageId": "Type.Enum.Extensible", "CrossLanguageDefinitionId": { "typetest.enum.extensible.models.DaysOfWeekExtensibleEnum": "Type.Enum.Extensible.DaysOfWeekExtensibleEnum", - "typetest.enum.extensible.ExtensibleClient.string.get_known_value": "getKnownValue", - "typetest.enum.extensible.ExtensibleClient.string.get_unknown_value": "getUnknownValue", - "typetest.enum.extensible.ExtensibleClient.string.put_known_value": "putKnownValue", - "typetest.enum.extensible.ExtensibleClient.string.put_unknown_value": "putUnknownValue" + "typetest.enum.extensible.ExtensibleClient.string.get_known_value": "Type.Enum.Extensible.String.getKnownValue", + "typetest.enum.extensible.ExtensibleClient.string.get_unknown_value": "Type.Enum.Extensible.String.getUnknownValue", + "typetest.enum.extensible.ExtensibleClient.string.put_known_value": "Type.Enum.Extensible.String.putKnownValue", + "typetest.enum.extensible.ExtensibleClient.string.put_unknown_value": "Type.Enum.Extensible.String.putUnknownValue" } } \ No newline at end of file diff --git a/packages/typespec-python/test/azure/generated/typetest-enum-fixed/apiview_mapping_python.json b/packages/typespec-python/test/azure/generated/typetest-enum-fixed/apiview_mapping_python.json index 54eedb38ae7..f98c36c91e0 100644 --- a/packages/typespec-python/test/azure/generated/typetest-enum-fixed/apiview_mapping_python.json +++ b/packages/typespec-python/test/azure/generated/typetest-enum-fixed/apiview_mapping_python.json @@ -2,8 +2,8 @@ "CrossLanguagePackageId": "Type.Enum.Fixed", "CrossLanguageDefinitionId": { "typetest.enum.fixed.models.DaysOfWeekEnum": "Type.Enum.Fixed.DaysOfWeekEnum", - "typetest.enum.fixed.FixedClient.string.get_known_value": "getKnownValue", - "typetest.enum.fixed.FixedClient.string.put_known_value": "putKnownValue", - "typetest.enum.fixed.FixedClient.string.put_unknown_value": "putUnknownValue" + "typetest.enum.fixed.FixedClient.string.get_known_value": "Type.Enum.Fixed.String.getKnownValue", + "typetest.enum.fixed.FixedClient.string.put_known_value": "Type.Enum.Fixed.String.putKnownValue", + "typetest.enum.fixed.FixedClient.string.put_unknown_value": "Type.Enum.Fixed.String.putUnknownValue" } } \ No newline at end of file diff --git a/packages/typespec-python/test/azure/generated/typetest-model-empty/apiview_mapping_python.json b/packages/typespec-python/test/azure/generated/typetest-model-empty/apiview_mapping_python.json index f3058fc269f..8f54e6308e1 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-empty/apiview_mapping_python.json +++ b/packages/typespec-python/test/azure/generated/typetest-model-empty/apiview_mapping_python.json @@ -4,8 +4,8 @@ "typetest.model.empty.models.EmptyInput": "Type.Model.Empty.EmptyInput", "typetest.model.empty.models.EmptyInputOutput": "Type.Model.Empty.EmptyInputOutput", "typetest.model.empty.models.EmptyOutput": "Type.Model.Empty.EmptyOutput", - "typetest.model.empty.EmptyClient.put_empty": "putEmpty", - "typetest.model.empty.EmptyClient.get_empty": "getEmpty", - "typetest.model.empty.EmptyClient.post_round_trip_empty": "postRoundTripEmpty" + "typetest.model.empty.EmptyClient.put_empty": "Type.Model.Empty.putEmpty", + "typetest.model.empty.EmptyClient.get_empty": "Type.Model.Empty.getEmpty", + "typetest.model.empty.EmptyClient.post_round_trip_empty": "Type.Model.Empty.postRoundTripEmpty" } } \ No newline at end of file diff --git a/packages/typespec-python/test/azure/generated/typetest-model-enumdiscriminator/apiview_mapping_python.json b/packages/typespec-python/test/azure/generated/typetest-model-enumdiscriminator/apiview_mapping_python.json index 8e1fd91daf2..cf24f282bd4 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-enumdiscriminator/apiview_mapping_python.json +++ b/packages/typespec-python/test/azure/generated/typetest-model-enumdiscriminator/apiview_mapping_python.json @@ -7,13 +7,13 @@ "typetest.model.enumdiscriminator.models.Golden": "Type.Model.Inheritance.EnumDiscriminator.Golden", "typetest.model.enumdiscriminator.models.DogKind": "Type.Model.Inheritance.EnumDiscriminator.DogKind", "typetest.model.enumdiscriminator.models.SnakeKind": "Type.Model.Inheritance.EnumDiscriminator.SnakeKind", - "typetest.model.enumdiscriminator.EnumDiscriminatorClient.get_extensible_model": "getExtensibleModel", - "typetest.model.enumdiscriminator.EnumDiscriminatorClient.put_extensible_model": "putExtensibleModel", - "typetest.model.enumdiscriminator.EnumDiscriminatorClient.get_extensible_model_missing_discriminator": "getExtensibleModelMissingDiscriminator", - "typetest.model.enumdiscriminator.EnumDiscriminatorClient.get_extensible_model_wrong_discriminator": "getExtensibleModelWrongDiscriminator", - "typetest.model.enumdiscriminator.EnumDiscriminatorClient.get_fixed_model": "getFixedModel", - "typetest.model.enumdiscriminator.EnumDiscriminatorClient.put_fixed_model": "putFixedModel", - "typetest.model.enumdiscriminator.EnumDiscriminatorClient.get_fixed_model_missing_discriminator": "getFixedModelMissingDiscriminator", - "typetest.model.enumdiscriminator.EnumDiscriminatorClient.get_fixed_model_wrong_discriminator": "getFixedModelWrongDiscriminator" + "typetest.model.enumdiscriminator.EnumDiscriminatorClient.get_extensible_model": "Type.Model.Inheritance.EnumDiscriminator.getExtensibleModel", + "typetest.model.enumdiscriminator.EnumDiscriminatorClient.put_extensible_model": "Type.Model.Inheritance.EnumDiscriminator.putExtensibleModel", + "typetest.model.enumdiscriminator.EnumDiscriminatorClient.get_extensible_model_missing_discriminator": "Type.Model.Inheritance.EnumDiscriminator.getExtensibleModelMissingDiscriminator", + "typetest.model.enumdiscriminator.EnumDiscriminatorClient.get_extensible_model_wrong_discriminator": "Type.Model.Inheritance.EnumDiscriminator.getExtensibleModelWrongDiscriminator", + "typetest.model.enumdiscriminator.EnumDiscriminatorClient.get_fixed_model": "Type.Model.Inheritance.EnumDiscriminator.getFixedModel", + "typetest.model.enumdiscriminator.EnumDiscriminatorClient.put_fixed_model": "Type.Model.Inheritance.EnumDiscriminator.putFixedModel", + "typetest.model.enumdiscriminator.EnumDiscriminatorClient.get_fixed_model_missing_discriminator": "Type.Model.Inheritance.EnumDiscriminator.getFixedModelMissingDiscriminator", + "typetest.model.enumdiscriminator.EnumDiscriminatorClient.get_fixed_model_wrong_discriminator": "Type.Model.Inheritance.EnumDiscriminator.getFixedModelWrongDiscriminator" } } \ No newline at end of file diff --git a/packages/typespec-python/test/azure/generated/typetest-model-flatten/apiview_mapping_python.json b/packages/typespec-python/test/azure/generated/typetest-model-flatten/apiview_mapping_python.json index 92ab16d2c7c..cdd0f925e17 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-flatten/apiview_mapping_python.json +++ b/packages/typespec-python/test/azure/generated/typetest-model-flatten/apiview_mapping_python.json @@ -5,7 +5,7 @@ "typetest.model.flatten.models.ChildModel": "Type.Model.Flatten.ChildModel", "typetest.model.flatten.models.FlattenModel": "Type.Model.Flatten.FlattenModel", "typetest.model.flatten.models.NestedFlattenModel": "Type.Model.Flatten.NestedFlattenModel", - "typetest.model.flatten.FlattenClient.put_flatten_model": "putFlattenModel", - "typetest.model.flatten.FlattenClient.put_nested_flatten_model": "putNestedFlattenModel" + "typetest.model.flatten.FlattenClient.put_flatten_model": "Type.Model.Flatten.putFlattenModel", + "typetest.model.flatten.FlattenClient.put_nested_flatten_model": "Type.Model.Flatten.putNestedFlattenModel" } } \ No newline at end of file diff --git a/packages/typespec-python/test/azure/generated/typetest-model-nesteddiscriminator/apiview_mapping_python.json b/packages/typespec-python/test/azure/generated/typetest-model-nesteddiscriminator/apiview_mapping_python.json index ca43c2b02de..630c033ff8b 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-nesteddiscriminator/apiview_mapping_python.json +++ b/packages/typespec-python/test/azure/generated/typetest-model-nesteddiscriminator/apiview_mapping_python.json @@ -6,11 +6,11 @@ "typetest.model.nesteddiscriminator.models.GoblinShark": "Type.Model.Inheritance.NestedDiscriminator.GoblinShark", "typetest.model.nesteddiscriminator.models.Salmon": "Type.Model.Inheritance.NestedDiscriminator.Salmon", "typetest.model.nesteddiscriminator.models.SawShark": "Type.Model.Inheritance.NestedDiscriminator.SawShark", - "typetest.model.nesteddiscriminator.NestedDiscriminatorClient.get_model": "getModel", - "typetest.model.nesteddiscriminator.NestedDiscriminatorClient.put_model": "putModel", - "typetest.model.nesteddiscriminator.NestedDiscriminatorClient.get_recursive_model": "getRecursiveModel", - "typetest.model.nesteddiscriminator.NestedDiscriminatorClient.put_recursive_model": "putRecursiveModel", - "typetest.model.nesteddiscriminator.NestedDiscriminatorClient.get_missing_discriminator": "getMissingDiscriminator", - "typetest.model.nesteddiscriminator.NestedDiscriminatorClient.get_wrong_discriminator": "getWrongDiscriminator" + "typetest.model.nesteddiscriminator.NestedDiscriminatorClient.get_model": "Type.Model.Inheritance.NestedDiscriminator.getModel", + "typetest.model.nesteddiscriminator.NestedDiscriminatorClient.put_model": "Type.Model.Inheritance.NestedDiscriminator.putModel", + "typetest.model.nesteddiscriminator.NestedDiscriminatorClient.get_recursive_model": "Type.Model.Inheritance.NestedDiscriminator.getRecursiveModel", + "typetest.model.nesteddiscriminator.NestedDiscriminatorClient.put_recursive_model": "Type.Model.Inheritance.NestedDiscriminator.putRecursiveModel", + "typetest.model.nesteddiscriminator.NestedDiscriminatorClient.get_missing_discriminator": "Type.Model.Inheritance.NestedDiscriminator.getMissingDiscriminator", + "typetest.model.nesteddiscriminator.NestedDiscriminatorClient.get_wrong_discriminator": "Type.Model.Inheritance.NestedDiscriminator.getWrongDiscriminator" } } \ No newline at end of file diff --git a/packages/typespec-python/test/azure/generated/typetest-model-notdiscriminated/apiview_mapping_python.json b/packages/typespec-python/test/azure/generated/typetest-model-notdiscriminated/apiview_mapping_python.json index a4c1a33b870..69f8853c5d6 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-notdiscriminated/apiview_mapping_python.json +++ b/packages/typespec-python/test/azure/generated/typetest-model-notdiscriminated/apiview_mapping_python.json @@ -4,8 +4,8 @@ "typetest.model.notdiscriminated.models.Pet": "Type.Model.Inheritance.NotDiscriminated.Pet", "typetest.model.notdiscriminated.models.Cat": "Type.Model.Inheritance.NotDiscriminated.Cat", "typetest.model.notdiscriminated.models.Siamese": "Type.Model.Inheritance.NotDiscriminated.Siamese", - "typetest.model.notdiscriminated.NotDiscriminatedClient.post_valid": "postValid", - "typetest.model.notdiscriminated.NotDiscriminatedClient.get_valid": "getValid", - "typetest.model.notdiscriminated.NotDiscriminatedClient.put_valid": "putValid" + "typetest.model.notdiscriminated.NotDiscriminatedClient.post_valid": "Type.Model.Inheritance.NotDiscriminated.postValid", + "typetest.model.notdiscriminated.NotDiscriminatedClient.get_valid": "Type.Model.Inheritance.NotDiscriminated.getValid", + "typetest.model.notdiscriminated.NotDiscriminatedClient.put_valid": "Type.Model.Inheritance.NotDiscriminated.putValid" } } \ No newline at end of file diff --git a/packages/typespec-python/test/azure/generated/typetest-model-recursive/apiview_mapping_python.json b/packages/typespec-python/test/azure/generated/typetest-model-recursive/apiview_mapping_python.json index 68b65f9becc..7aca52f643e 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-recursive/apiview_mapping_python.json +++ b/packages/typespec-python/test/azure/generated/typetest-model-recursive/apiview_mapping_python.json @@ -3,7 +3,7 @@ "CrossLanguageDefinitionId": { "typetest.model.recursive.models.Element": "Type.Model.Inheritance.Recursive.Element", "typetest.model.recursive.models.Extension": "Type.Model.Inheritance.Recursive.Extension", - "typetest.model.recursive.RecursiveClient.put": "put", - "typetest.model.recursive.RecursiveClient.get": "get" + "typetest.model.recursive.RecursiveClient.put": "Type.Model.Inheritance.Recursive.put", + "typetest.model.recursive.RecursiveClient.get": "Type.Model.Inheritance.Recursive.get" } } \ No newline at end of file diff --git a/packages/typespec-python/test/azure/generated/typetest-model-singlediscriminator/apiview_mapping_python.json b/packages/typespec-python/test/azure/generated/typetest-model-singlediscriminator/apiview_mapping_python.json index 60a2d4be500..77f58e314c8 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-singlediscriminator/apiview_mapping_python.json +++ b/packages/typespec-python/test/azure/generated/typetest-model-singlediscriminator/apiview_mapping_python.json @@ -8,12 +8,12 @@ "typetest.model.singlediscriminator.models.SeaGull": "Type.Model.Inheritance.SingleDiscriminator.SeaGull", "typetest.model.singlediscriminator.models.Sparrow": "Type.Model.Inheritance.SingleDiscriminator.Sparrow", "typetest.model.singlediscriminator.models.TRex": "Type.Model.Inheritance.SingleDiscriminator.TRex", - "typetest.model.singlediscriminator.SingleDiscriminatorClient.get_model": "getModel", - "typetest.model.singlediscriminator.SingleDiscriminatorClient.put_model": "putModel", - "typetest.model.singlediscriminator.SingleDiscriminatorClient.get_recursive_model": "getRecursiveModel", - "typetest.model.singlediscriminator.SingleDiscriminatorClient.put_recursive_model": "putRecursiveModel", - "typetest.model.singlediscriminator.SingleDiscriminatorClient.get_missing_discriminator": "getMissingDiscriminator", - "typetest.model.singlediscriminator.SingleDiscriminatorClient.get_wrong_discriminator": "getWrongDiscriminator", - "typetest.model.singlediscriminator.SingleDiscriminatorClient.get_legacy_model": "getLegacyModel" + "typetest.model.singlediscriminator.SingleDiscriminatorClient.get_model": "Type.Model.Inheritance.SingleDiscriminator.getModel", + "typetest.model.singlediscriminator.SingleDiscriminatorClient.put_model": "Type.Model.Inheritance.SingleDiscriminator.putModel", + "typetest.model.singlediscriminator.SingleDiscriminatorClient.get_recursive_model": "Type.Model.Inheritance.SingleDiscriminator.getRecursiveModel", + "typetest.model.singlediscriminator.SingleDiscriminatorClient.put_recursive_model": "Type.Model.Inheritance.SingleDiscriminator.putRecursiveModel", + "typetest.model.singlediscriminator.SingleDiscriminatorClient.get_missing_discriminator": "Type.Model.Inheritance.SingleDiscriminator.getMissingDiscriminator", + "typetest.model.singlediscriminator.SingleDiscriminatorClient.get_wrong_discriminator": "Type.Model.Inheritance.SingleDiscriminator.getWrongDiscriminator", + "typetest.model.singlediscriminator.SingleDiscriminatorClient.get_legacy_model": "Type.Model.Inheritance.SingleDiscriminator.getLegacyModel" } } \ No newline at end of file diff --git a/packages/typespec-python/test/azure/generated/typetest-model-usage/apiview_mapping_python.json b/packages/typespec-python/test/azure/generated/typetest-model-usage/apiview_mapping_python.json index 4b24dbdeb42..be1978739e7 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-usage/apiview_mapping_python.json +++ b/packages/typespec-python/test/azure/generated/typetest-model-usage/apiview_mapping_python.json @@ -4,8 +4,8 @@ "typetest.model.usage.models.InputOutputRecord": "Type.Model.Usage.InputOutputRecord", "typetest.model.usage.models.InputRecord": "Type.Model.Usage.InputRecord", "typetest.model.usage.models.OutputRecord": "Type.Model.Usage.OutputRecord", - "typetest.model.usage.UsageClient.input": "input", - "typetest.model.usage.UsageClient.output": "output", - "typetest.model.usage.UsageClient.input_and_output": "inputAndOutput" + "typetest.model.usage.UsageClient.input": "Type.Model.Usage.input", + "typetest.model.usage.UsageClient.output": "Type.Model.Usage.output", + "typetest.model.usage.UsageClient.input_and_output": "Type.Model.Usage.inputAndOutput" } } \ No newline at end of file diff --git a/packages/typespec-python/test/azure/generated/typetest-model-visibility/apiview_mapping_python.json b/packages/typespec-python/test/azure/generated/typetest-model-visibility/apiview_mapping_python.json index 797875b8ae2..4428a0d575d 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-visibility/apiview_mapping_python.json +++ b/packages/typespec-python/test/azure/generated/typetest-model-visibility/apiview_mapping_python.json @@ -2,11 +2,11 @@ "CrossLanguagePackageId": "Type.Model.Visibility", "CrossLanguageDefinitionId": { "typetest.model.visibility.models.VisibilityModel": "Type.Model.Visibility.VisibilityModel", - "typetest.model.visibility.VisibilityClient.get_model": "getModel", - "typetest.model.visibility.VisibilityClient.head_model": "headModel", - "typetest.model.visibility.VisibilityClient.put_model": "putModel", - "typetest.model.visibility.VisibilityClient.patch_model": "patchModel", - "typetest.model.visibility.VisibilityClient.post_model": "postModel", - "typetest.model.visibility.VisibilityClient.delete_model": "deleteModel" + "typetest.model.visibility.VisibilityClient.get_model": "Type.Model.Visibility.getModel", + "typetest.model.visibility.VisibilityClient.head_model": "Type.Model.Visibility.headModel", + "typetest.model.visibility.VisibilityClient.put_model": "Type.Model.Visibility.putModel", + "typetest.model.visibility.VisibilityClient.patch_model": "Type.Model.Visibility.patchModel", + "typetest.model.visibility.VisibilityClient.post_model": "Type.Model.Visibility.postModel", + "typetest.model.visibility.VisibilityClient.delete_model": "Type.Model.Visibility.deleteModel" } } \ No newline at end of file diff --git a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/apiview_mapping_python.json b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/apiview_mapping_python.json index 10ca2bc458c..a03c3db179d 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/apiview_mapping_python.json +++ b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/apiview_mapping_python.json @@ -39,69 +39,69 @@ "typetest.property.additionalproperties.models.WidgetData0": "Type.Property.AdditionalProperties.WidgetData0", "typetest.property.additionalproperties.models.WidgetData1": "Type.Property.AdditionalProperties.WidgetData1", "typetest.property.additionalproperties.models.WidgetData2": "Type.Property.AdditionalProperties.WidgetData2", - "typetest.property.additionalproperties.AdditionalPropertiesClient.extends_unknown.get": "get", - "typetest.property.additionalproperties.AdditionalPropertiesClient.extends_unknown.put": "put", - "typetest.property.additionalproperties.AdditionalPropertiesClient.extends_unknown_derived.get": "get", - "typetest.property.additionalproperties.AdditionalPropertiesClient.extends_unknown_derived.put": "put", - "typetest.property.additionalproperties.AdditionalPropertiesClient.extends_unknown_discriminated.get": "get", - "typetest.property.additionalproperties.AdditionalPropertiesClient.extends_unknown_discriminated.put": "put", - "typetest.property.additionalproperties.AdditionalPropertiesClient.is_unknown.get": "get", - "typetest.property.additionalproperties.AdditionalPropertiesClient.is_unknown.put": "put", - "typetest.property.additionalproperties.AdditionalPropertiesClient.is_unknown_derived.get": "get", - "typetest.property.additionalproperties.AdditionalPropertiesClient.is_unknown_derived.put": "put", - "typetest.property.additionalproperties.AdditionalPropertiesClient.is_unknown_discriminated.get": "get", - "typetest.property.additionalproperties.AdditionalPropertiesClient.is_unknown_discriminated.put": "put", - "typetest.property.additionalproperties.AdditionalPropertiesClient.extends_string.get": "get", - "typetest.property.additionalproperties.AdditionalPropertiesClient.extends_string.put": "put", - "typetest.property.additionalproperties.AdditionalPropertiesClient.is_string.get": "get", - "typetest.property.additionalproperties.AdditionalPropertiesClient.is_string.put": "put", - "typetest.property.additionalproperties.AdditionalPropertiesClient.spread_string.get": "get", - "typetest.property.additionalproperties.AdditionalPropertiesClient.spread_string.put": "put", - "typetest.property.additionalproperties.AdditionalPropertiesClient.extends_float.get": "get", - "typetest.property.additionalproperties.AdditionalPropertiesClient.extends_float.put": "put", - "typetest.property.additionalproperties.AdditionalPropertiesClient.is_float.get": "get", - "typetest.property.additionalproperties.AdditionalPropertiesClient.is_float.put": "put", - "typetest.property.additionalproperties.AdditionalPropertiesClient.spread_float.get": "get", - "typetest.property.additionalproperties.AdditionalPropertiesClient.spread_float.put": "put", - "typetest.property.additionalproperties.AdditionalPropertiesClient.extends_model.get": "get", - "typetest.property.additionalproperties.AdditionalPropertiesClient.extends_model.put": "put", - "typetest.property.additionalproperties.AdditionalPropertiesClient.is_model.get": "get", - "typetest.property.additionalproperties.AdditionalPropertiesClient.is_model.put": "put", - "typetest.property.additionalproperties.AdditionalPropertiesClient.spread_model.get": "get", - "typetest.property.additionalproperties.AdditionalPropertiesClient.spread_model.put": "put", - "typetest.property.additionalproperties.AdditionalPropertiesClient.extends_model_array.get": "get", - "typetest.property.additionalproperties.AdditionalPropertiesClient.extends_model_array.put": "put", - "typetest.property.additionalproperties.AdditionalPropertiesClient.is_model_array.get": "get", - "typetest.property.additionalproperties.AdditionalPropertiesClient.is_model_array.put": "put", - "typetest.property.additionalproperties.AdditionalPropertiesClient.spread_model_array.get": "get", - "typetest.property.additionalproperties.AdditionalPropertiesClient.spread_model_array.put": "put", - "typetest.property.additionalproperties.AdditionalPropertiesClient.spread_different_string.get": "get", - "typetest.property.additionalproperties.AdditionalPropertiesClient.spread_different_string.put": "put", - "typetest.property.additionalproperties.AdditionalPropertiesClient.spread_different_float.get": "get", - "typetest.property.additionalproperties.AdditionalPropertiesClient.spread_different_float.put": "put", - "typetest.property.additionalproperties.AdditionalPropertiesClient.spread_different_model.get": "get", - "typetest.property.additionalproperties.AdditionalPropertiesClient.spread_different_model.put": "put", - "typetest.property.additionalproperties.AdditionalPropertiesClient.spread_different_model_array.get": "get", - "typetest.property.additionalproperties.AdditionalPropertiesClient.spread_different_model_array.put": "put", - "typetest.property.additionalproperties.AdditionalPropertiesClient.extends_different_spread_string.get": "get", - "typetest.property.additionalproperties.AdditionalPropertiesClient.extends_different_spread_string.put": "put", - "typetest.property.additionalproperties.AdditionalPropertiesClient.extends_different_spread_float.get": "get", - "typetest.property.additionalproperties.AdditionalPropertiesClient.extends_different_spread_float.put": "put", - "typetest.property.additionalproperties.AdditionalPropertiesClient.extends_different_spread_model.get": "get", - "typetest.property.additionalproperties.AdditionalPropertiesClient.extends_different_spread_model.put": "put", - "typetest.property.additionalproperties.AdditionalPropertiesClient.extends_different_spread_model_array.get": "get", - "typetest.property.additionalproperties.AdditionalPropertiesClient.extends_different_spread_model_array.put": "put", - "typetest.property.additionalproperties.AdditionalPropertiesClient.multiple_spread.get": "get", - "typetest.property.additionalproperties.AdditionalPropertiesClient.multiple_spread.put": "put", - "typetest.property.additionalproperties.AdditionalPropertiesClient.spread_record_union.get": "get", - "typetest.property.additionalproperties.AdditionalPropertiesClient.spread_record_union.put": "put", - "typetest.property.additionalproperties.AdditionalPropertiesClient.spread_record_discriminated_union.get": "get", - "typetest.property.additionalproperties.AdditionalPropertiesClient.spread_record_discriminated_union.put": "put", - "typetest.property.additionalproperties.AdditionalPropertiesClient.spread_record_non_discriminated_union.get": "get", - "typetest.property.additionalproperties.AdditionalPropertiesClient.spread_record_non_discriminated_union.put": "put", - "typetest.property.additionalproperties.AdditionalPropertiesClient.spread_record_non_discriminated_union2.get": "get", - "typetest.property.additionalproperties.AdditionalPropertiesClient.spread_record_non_discriminated_union2.put": "put", - "typetest.property.additionalproperties.AdditionalPropertiesClient.spread_record_non_discriminated_union3.get": "get", - "typetest.property.additionalproperties.AdditionalPropertiesClient.spread_record_non_discriminated_union3.put": "put" + "typetest.property.additionalproperties.AdditionalPropertiesClient.extends_unknown.get": "Type.Property.AdditionalProperties.ExtendsUnknown.get", + "typetest.property.additionalproperties.AdditionalPropertiesClient.extends_unknown.put": "Type.Property.AdditionalProperties.ExtendsUnknown.put", + "typetest.property.additionalproperties.AdditionalPropertiesClient.extends_unknown_derived.get": "Type.Property.AdditionalProperties.ExtendsUnknownDerived.get", + "typetest.property.additionalproperties.AdditionalPropertiesClient.extends_unknown_derived.put": "Type.Property.AdditionalProperties.ExtendsUnknownDerived.put", + "typetest.property.additionalproperties.AdditionalPropertiesClient.extends_unknown_discriminated.get": "Type.Property.AdditionalProperties.ExtendsUnknownDiscriminated.get", + "typetest.property.additionalproperties.AdditionalPropertiesClient.extends_unknown_discriminated.put": "Type.Property.AdditionalProperties.ExtendsUnknownDiscriminated.put", + "typetest.property.additionalproperties.AdditionalPropertiesClient.is_unknown.get": "Type.Property.AdditionalProperties.IsUnknown.get", + "typetest.property.additionalproperties.AdditionalPropertiesClient.is_unknown.put": "Type.Property.AdditionalProperties.IsUnknown.put", + "typetest.property.additionalproperties.AdditionalPropertiesClient.is_unknown_derived.get": "Type.Property.AdditionalProperties.IsUnknownDerived.get", + "typetest.property.additionalproperties.AdditionalPropertiesClient.is_unknown_derived.put": "Type.Property.AdditionalProperties.IsUnknownDerived.put", + "typetest.property.additionalproperties.AdditionalPropertiesClient.is_unknown_discriminated.get": "Type.Property.AdditionalProperties.IsUnknownDiscriminated.get", + "typetest.property.additionalproperties.AdditionalPropertiesClient.is_unknown_discriminated.put": "Type.Property.AdditionalProperties.IsUnknownDiscriminated.put", + "typetest.property.additionalproperties.AdditionalPropertiesClient.extends_string.get": "Type.Property.AdditionalProperties.ExtendsString.get", + "typetest.property.additionalproperties.AdditionalPropertiesClient.extends_string.put": "Type.Property.AdditionalProperties.ExtendsString.put", + "typetest.property.additionalproperties.AdditionalPropertiesClient.is_string.get": "Type.Property.AdditionalProperties.IsString.get", + "typetest.property.additionalproperties.AdditionalPropertiesClient.is_string.put": "Type.Property.AdditionalProperties.IsString.put", + "typetest.property.additionalproperties.AdditionalPropertiesClient.spread_string.get": "Type.Property.AdditionalProperties.SpreadString.get", + "typetest.property.additionalproperties.AdditionalPropertiesClient.spread_string.put": "Type.Property.AdditionalProperties.SpreadString.put", + "typetest.property.additionalproperties.AdditionalPropertiesClient.extends_float.get": "Type.Property.AdditionalProperties.ExtendsFloat.get", + "typetest.property.additionalproperties.AdditionalPropertiesClient.extends_float.put": "Type.Property.AdditionalProperties.ExtendsFloat.put", + "typetest.property.additionalproperties.AdditionalPropertiesClient.is_float.get": "Type.Property.AdditionalProperties.IsFloat.get", + "typetest.property.additionalproperties.AdditionalPropertiesClient.is_float.put": "Type.Property.AdditionalProperties.IsFloat.put", + "typetest.property.additionalproperties.AdditionalPropertiesClient.spread_float.get": "Type.Property.AdditionalProperties.SpreadFloat.get", + "typetest.property.additionalproperties.AdditionalPropertiesClient.spread_float.put": "Type.Property.AdditionalProperties.SpreadFloat.put", + "typetest.property.additionalproperties.AdditionalPropertiesClient.extends_model.get": "Type.Property.AdditionalProperties.ExtendsModel.get", + "typetest.property.additionalproperties.AdditionalPropertiesClient.extends_model.put": "Type.Property.AdditionalProperties.ExtendsModel.put", + "typetest.property.additionalproperties.AdditionalPropertiesClient.is_model.get": "Type.Property.AdditionalProperties.IsModel.get", + "typetest.property.additionalproperties.AdditionalPropertiesClient.is_model.put": "Type.Property.AdditionalProperties.IsModel.put", + "typetest.property.additionalproperties.AdditionalPropertiesClient.spread_model.get": "Type.Property.AdditionalProperties.SpreadModel.get", + "typetest.property.additionalproperties.AdditionalPropertiesClient.spread_model.put": "Type.Property.AdditionalProperties.SpreadModel.put", + "typetest.property.additionalproperties.AdditionalPropertiesClient.extends_model_array.get": "Type.Property.AdditionalProperties.ExtendsModelArray.get", + "typetest.property.additionalproperties.AdditionalPropertiesClient.extends_model_array.put": "Type.Property.AdditionalProperties.ExtendsModelArray.put", + "typetest.property.additionalproperties.AdditionalPropertiesClient.is_model_array.get": "Type.Property.AdditionalProperties.IsModelArray.get", + "typetest.property.additionalproperties.AdditionalPropertiesClient.is_model_array.put": "Type.Property.AdditionalProperties.IsModelArray.put", + "typetest.property.additionalproperties.AdditionalPropertiesClient.spread_model_array.get": "Type.Property.AdditionalProperties.SpreadModelArray.get", + "typetest.property.additionalproperties.AdditionalPropertiesClient.spread_model_array.put": "Type.Property.AdditionalProperties.SpreadModelArray.put", + "typetest.property.additionalproperties.AdditionalPropertiesClient.spread_different_string.get": "Type.Property.AdditionalProperties.SpreadDifferentString.get", + "typetest.property.additionalproperties.AdditionalPropertiesClient.spread_different_string.put": "Type.Property.AdditionalProperties.SpreadDifferentString.put", + "typetest.property.additionalproperties.AdditionalPropertiesClient.spread_different_float.get": "Type.Property.AdditionalProperties.SpreadDifferentFloat.get", + "typetest.property.additionalproperties.AdditionalPropertiesClient.spread_different_float.put": "Type.Property.AdditionalProperties.SpreadDifferentFloat.put", + "typetest.property.additionalproperties.AdditionalPropertiesClient.spread_different_model.get": "Type.Property.AdditionalProperties.SpreadDifferentModel.get", + "typetest.property.additionalproperties.AdditionalPropertiesClient.spread_different_model.put": "Type.Property.AdditionalProperties.SpreadDifferentModel.put", + "typetest.property.additionalproperties.AdditionalPropertiesClient.spread_different_model_array.get": "Type.Property.AdditionalProperties.SpreadDifferentModelArray.get", + "typetest.property.additionalproperties.AdditionalPropertiesClient.spread_different_model_array.put": "Type.Property.AdditionalProperties.SpreadDifferentModelArray.put", + "typetest.property.additionalproperties.AdditionalPropertiesClient.extends_different_spread_string.get": "Type.Property.AdditionalProperties.ExtendsDifferentSpreadString.get", + "typetest.property.additionalproperties.AdditionalPropertiesClient.extends_different_spread_string.put": "Type.Property.AdditionalProperties.ExtendsDifferentSpreadString.put", + "typetest.property.additionalproperties.AdditionalPropertiesClient.extends_different_spread_float.get": "Type.Property.AdditionalProperties.ExtendsDifferentSpreadFloat.get", + "typetest.property.additionalproperties.AdditionalPropertiesClient.extends_different_spread_float.put": "Type.Property.AdditionalProperties.ExtendsDifferentSpreadFloat.put", + "typetest.property.additionalproperties.AdditionalPropertiesClient.extends_different_spread_model.get": "Type.Property.AdditionalProperties.ExtendsDifferentSpreadModel.get", + "typetest.property.additionalproperties.AdditionalPropertiesClient.extends_different_spread_model.put": "Type.Property.AdditionalProperties.ExtendsDifferentSpreadModel.put", + "typetest.property.additionalproperties.AdditionalPropertiesClient.extends_different_spread_model_array.get": "Type.Property.AdditionalProperties.ExtendsDifferentSpreadModelArray.get", + "typetest.property.additionalproperties.AdditionalPropertiesClient.extends_different_spread_model_array.put": "Type.Property.AdditionalProperties.ExtendsDifferentSpreadModelArray.put", + "typetest.property.additionalproperties.AdditionalPropertiesClient.multiple_spread.get": "Type.Property.AdditionalProperties.MultipleSpread.get", + "typetest.property.additionalproperties.AdditionalPropertiesClient.multiple_spread.put": "Type.Property.AdditionalProperties.MultipleSpread.put", + "typetest.property.additionalproperties.AdditionalPropertiesClient.spread_record_union.get": "Type.Property.AdditionalProperties.SpreadRecordUnion.get", + "typetest.property.additionalproperties.AdditionalPropertiesClient.spread_record_union.put": "Type.Property.AdditionalProperties.SpreadRecordUnion.put", + "typetest.property.additionalproperties.AdditionalPropertiesClient.spread_record_discriminated_union.get": "Type.Property.AdditionalProperties.SpreadRecordDiscriminatedUnion.get", + "typetest.property.additionalproperties.AdditionalPropertiesClient.spread_record_discriminated_union.put": "Type.Property.AdditionalProperties.SpreadRecordDiscriminatedUnion.put", + "typetest.property.additionalproperties.AdditionalPropertiesClient.spread_record_non_discriminated_union.get": "Type.Property.AdditionalProperties.SpreadRecordNonDiscriminatedUnion.get", + "typetest.property.additionalproperties.AdditionalPropertiesClient.spread_record_non_discriminated_union.put": "Type.Property.AdditionalProperties.SpreadRecordNonDiscriminatedUnion.put", + "typetest.property.additionalproperties.AdditionalPropertiesClient.spread_record_non_discriminated_union2.get": "Type.Property.AdditionalProperties.SpreadRecordNonDiscriminatedUnion2.get", + "typetest.property.additionalproperties.AdditionalPropertiesClient.spread_record_non_discriminated_union2.put": "Type.Property.AdditionalProperties.SpreadRecordNonDiscriminatedUnion2.put", + "typetest.property.additionalproperties.AdditionalPropertiesClient.spread_record_non_discriminated_union3.get": "Type.Property.AdditionalProperties.SpreadRecordNonDiscriminatedUnion3.get", + "typetest.property.additionalproperties.AdditionalPropertiesClient.spread_record_non_discriminated_union3.put": "Type.Property.AdditionalProperties.SpreadRecordNonDiscriminatedUnion3.put" } } \ No newline at end of file diff --git a/packages/typespec-python/test/azure/generated/typetest-property-nullable/apiview_mapping_python.json b/packages/typespec-python/test/azure/generated/typetest-property-nullable/apiview_mapping_python.json index 3f7b9559936..8fd0dda2a46 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-nullable/apiview_mapping_python.json +++ b/packages/typespec-python/test/azure/generated/typetest-property-nullable/apiview_mapping_python.json @@ -8,29 +8,29 @@ "typetest.property.nullable.models.DurationProperty": "Type.Property.Nullable.DurationProperty", "typetest.property.nullable.models.InnerModel": "Type.Property.Nullable.InnerModel", "typetest.property.nullable.models.StringProperty": "Type.Property.Nullable.StringProperty", - "typetest.property.nullable.NullableClient.string.get_non_null": "getNonNull", - "typetest.property.nullable.NullableClient.string.get_null": "getNull", - "typetest.property.nullable.NullableClient.string.patch_non_null": "patchNonNull", - "typetest.property.nullable.NullableClient.string.patch_null": "patchNull", - "typetest.property.nullable.NullableClient.bytes.get_non_null": "getNonNull", - "typetest.property.nullable.NullableClient.bytes.get_null": "getNull", - "typetest.property.nullable.NullableClient.bytes.patch_non_null": "patchNonNull", - "typetest.property.nullable.NullableClient.bytes.patch_null": "patchNull", - "typetest.property.nullable.NullableClient.datetime.get_non_null": "getNonNull", - "typetest.property.nullable.NullableClient.datetime.get_null": "getNull", - "typetest.property.nullable.NullableClient.datetime.patch_non_null": "patchNonNull", - "typetest.property.nullable.NullableClient.datetime.patch_null": "patchNull", - "typetest.property.nullable.NullableClient.duration.get_non_null": "getNonNull", - "typetest.property.nullable.NullableClient.duration.get_null": "getNull", - "typetest.property.nullable.NullableClient.duration.patch_non_null": "patchNonNull", - "typetest.property.nullable.NullableClient.duration.patch_null": "patchNull", - "typetest.property.nullable.NullableClient.collections_byte.get_non_null": "getNonNull", - "typetest.property.nullable.NullableClient.collections_byte.get_null": "getNull", - "typetest.property.nullable.NullableClient.collections_byte.patch_non_null": "patchNonNull", - "typetest.property.nullable.NullableClient.collections_byte.patch_null": "patchNull", - "typetest.property.nullable.NullableClient.collections_model.get_non_null": "getNonNull", - "typetest.property.nullable.NullableClient.collections_model.get_null": "getNull", - "typetest.property.nullable.NullableClient.collections_model.patch_non_null": "patchNonNull", - "typetest.property.nullable.NullableClient.collections_model.patch_null": "patchNull" + "typetest.property.nullable.NullableClient.string.get_non_null": "Type.Property.Nullable.String.getNonNull", + "typetest.property.nullable.NullableClient.string.get_null": "Type.Property.Nullable.String.getNull", + "typetest.property.nullable.NullableClient.string.patch_non_null": "Type.Property.Nullable.String.patchNonNull", + "typetest.property.nullable.NullableClient.string.patch_null": "Type.Property.Nullable.String.patchNull", + "typetest.property.nullable.NullableClient.bytes.get_non_null": "Type.Property.Nullable.Bytes.getNonNull", + "typetest.property.nullable.NullableClient.bytes.get_null": "Type.Property.Nullable.Bytes.getNull", + "typetest.property.nullable.NullableClient.bytes.patch_non_null": "Type.Property.Nullable.Bytes.patchNonNull", + "typetest.property.nullable.NullableClient.bytes.patch_null": "Type.Property.Nullable.Bytes.patchNull", + "typetest.property.nullable.NullableClient.datetime.get_non_null": "Type.Property.Nullable.Datetime.getNonNull", + "typetest.property.nullable.NullableClient.datetime.get_null": "Type.Property.Nullable.Datetime.getNull", + "typetest.property.nullable.NullableClient.datetime.patch_non_null": "Type.Property.Nullable.Datetime.patchNonNull", + "typetest.property.nullable.NullableClient.datetime.patch_null": "Type.Property.Nullable.Datetime.patchNull", + "typetest.property.nullable.NullableClient.duration.get_non_null": "Type.Property.Nullable.Duration.getNonNull", + "typetest.property.nullable.NullableClient.duration.get_null": "Type.Property.Nullable.Duration.getNull", + "typetest.property.nullable.NullableClient.duration.patch_non_null": "Type.Property.Nullable.Duration.patchNonNull", + "typetest.property.nullable.NullableClient.duration.patch_null": "Type.Property.Nullable.Duration.patchNull", + "typetest.property.nullable.NullableClient.collections_byte.get_non_null": "Type.Property.Nullable.CollectionsByte.getNonNull", + "typetest.property.nullable.NullableClient.collections_byte.get_null": "Type.Property.Nullable.CollectionsByte.getNull", + "typetest.property.nullable.NullableClient.collections_byte.patch_non_null": "Type.Property.Nullable.CollectionsByte.patchNonNull", + "typetest.property.nullable.NullableClient.collections_byte.patch_null": "Type.Property.Nullable.CollectionsByte.patchNull", + "typetest.property.nullable.NullableClient.collections_model.get_non_null": "Type.Property.Nullable.CollectionsModel.getNonNull", + "typetest.property.nullable.NullableClient.collections_model.get_null": "Type.Property.Nullable.CollectionsModel.getNull", + "typetest.property.nullable.NullableClient.collections_model.patch_non_null": "Type.Property.Nullable.CollectionsModel.patchNonNull", + "typetest.property.nullable.NullableClient.collections_model.patch_null": "Type.Property.Nullable.CollectionsModel.patchNull" } } \ No newline at end of file diff --git a/packages/typespec-python/test/azure/generated/typetest-property-optional/apiview_mapping_python.json b/packages/typespec-python/test/azure/generated/typetest-property-optional/apiview_mapping_python.json index caf17e56bda..63f6a845f11 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-optional/apiview_mapping_python.json +++ b/packages/typespec-python/test/azure/generated/typetest-property-optional/apiview_mapping_python.json @@ -15,61 +15,61 @@ "typetest.property.optional.models.UnionFloatLiteralProperty": "Type.Property.Optional.UnionFloatLiteralProperty", "typetest.property.optional.models.UnionIntLiteralProperty": "Type.Property.Optional.UnionIntLiteralProperty", "typetest.property.optional.models.UnionStringLiteralProperty": "Type.Property.Optional.UnionStringLiteralProperty", - "typetest.property.optional.OptionalClient.string.get_all": "getAll", - "typetest.property.optional.OptionalClient.string.get_default": "getDefault", - "typetest.property.optional.OptionalClient.string.put_all": "putAll", - "typetest.property.optional.OptionalClient.string.put_default": "putDefault", - "typetest.property.optional.OptionalClient.bytes.get_all": "getAll", - "typetest.property.optional.OptionalClient.bytes.get_default": "getDefault", - "typetest.property.optional.OptionalClient.bytes.put_all": "putAll", - "typetest.property.optional.OptionalClient.bytes.put_default": "putDefault", - "typetest.property.optional.OptionalClient.datetime.get_all": "getAll", - "typetest.property.optional.OptionalClient.datetime.get_default": "getDefault", - "typetest.property.optional.OptionalClient.datetime.put_all": "putAll", - "typetest.property.optional.OptionalClient.datetime.put_default": "putDefault", - "typetest.property.optional.OptionalClient.duration.get_all": "getAll", - "typetest.property.optional.OptionalClient.duration.get_default": "getDefault", - "typetest.property.optional.OptionalClient.duration.put_all": "putAll", - "typetest.property.optional.OptionalClient.duration.put_default": "putDefault", - "typetest.property.optional.OptionalClient.collections_byte.get_all": "getAll", - "typetest.property.optional.OptionalClient.collections_byte.get_default": "getDefault", - "typetest.property.optional.OptionalClient.collections_byte.put_all": "putAll", - "typetest.property.optional.OptionalClient.collections_byte.put_default": "putDefault", - "typetest.property.optional.OptionalClient.collections_model.get_all": "getAll", - "typetest.property.optional.OptionalClient.collections_model.get_default": "getDefault", - "typetest.property.optional.OptionalClient.collections_model.put_all": "putAll", - "typetest.property.optional.OptionalClient.collections_model.put_default": "putDefault", - "typetest.property.optional.OptionalClient.string_literal.get_all": "getAll", - "typetest.property.optional.OptionalClient.string_literal.get_default": "getDefault", - "typetest.property.optional.OptionalClient.string_literal.put_all": "putAll", - "typetest.property.optional.OptionalClient.string_literal.put_default": "putDefault", - "typetest.property.optional.OptionalClient.int_literal.get_all": "getAll", - "typetest.property.optional.OptionalClient.int_literal.get_default": "getDefault", - "typetest.property.optional.OptionalClient.int_literal.put_all": "putAll", - "typetest.property.optional.OptionalClient.int_literal.put_default": "putDefault", - "typetest.property.optional.OptionalClient.float_literal.get_all": "getAll", - "typetest.property.optional.OptionalClient.float_literal.get_default": "getDefault", - "typetest.property.optional.OptionalClient.float_literal.put_all": "putAll", - "typetest.property.optional.OptionalClient.float_literal.put_default": "putDefault", - "typetest.property.optional.OptionalClient.boolean_literal.get_all": "getAll", - "typetest.property.optional.OptionalClient.boolean_literal.get_default": "getDefault", - "typetest.property.optional.OptionalClient.boolean_literal.put_all": "putAll", - "typetest.property.optional.OptionalClient.boolean_literal.put_default": "putDefault", - "typetest.property.optional.OptionalClient.union_string_literal.get_all": "getAll", - "typetest.property.optional.OptionalClient.union_string_literal.get_default": "getDefault", - "typetest.property.optional.OptionalClient.union_string_literal.put_all": "putAll", - "typetest.property.optional.OptionalClient.union_string_literal.put_default": "putDefault", - "typetest.property.optional.OptionalClient.union_int_literal.get_all": "getAll", - "typetest.property.optional.OptionalClient.union_int_literal.get_default": "getDefault", - "typetest.property.optional.OptionalClient.union_int_literal.put_all": "putAll", - "typetest.property.optional.OptionalClient.union_int_literal.put_default": "putDefault", - "typetest.property.optional.OptionalClient.union_float_literal.get_all": "getAll", - "typetest.property.optional.OptionalClient.union_float_literal.get_default": "getDefault", - "typetest.property.optional.OptionalClient.union_float_literal.put_all": "putAll", - "typetest.property.optional.OptionalClient.union_float_literal.put_default": "putDefault", - "typetest.property.optional.OptionalClient.required_and_optional.get_all": "getAll", - "typetest.property.optional.OptionalClient.required_and_optional.get_required_only": "getRequiredOnly", - "typetest.property.optional.OptionalClient.required_and_optional.put_all": "putAll", - "typetest.property.optional.OptionalClient.required_and_optional.put_required_only": "putRequiredOnly" + "typetest.property.optional.OptionalClient.string.get_all": "Type.Property.Optional.String.getAll", + "typetest.property.optional.OptionalClient.string.get_default": "Type.Property.Optional.String.getDefault", + "typetest.property.optional.OptionalClient.string.put_all": "Type.Property.Optional.String.putAll", + "typetest.property.optional.OptionalClient.string.put_default": "Type.Property.Optional.String.putDefault", + "typetest.property.optional.OptionalClient.bytes.get_all": "Type.Property.Optional.Bytes.getAll", + "typetest.property.optional.OptionalClient.bytes.get_default": "Type.Property.Optional.Bytes.getDefault", + "typetest.property.optional.OptionalClient.bytes.put_all": "Type.Property.Optional.Bytes.putAll", + "typetest.property.optional.OptionalClient.bytes.put_default": "Type.Property.Optional.Bytes.putDefault", + "typetest.property.optional.OptionalClient.datetime.get_all": "Type.Property.Optional.Datetime.getAll", + "typetest.property.optional.OptionalClient.datetime.get_default": "Type.Property.Optional.Datetime.getDefault", + "typetest.property.optional.OptionalClient.datetime.put_all": "Type.Property.Optional.Datetime.putAll", + "typetest.property.optional.OptionalClient.datetime.put_default": "Type.Property.Optional.Datetime.putDefault", + "typetest.property.optional.OptionalClient.duration.get_all": "Type.Property.Optional.Duration.getAll", + "typetest.property.optional.OptionalClient.duration.get_default": "Type.Property.Optional.Duration.getDefault", + "typetest.property.optional.OptionalClient.duration.put_all": "Type.Property.Optional.Duration.putAll", + "typetest.property.optional.OptionalClient.duration.put_default": "Type.Property.Optional.Duration.putDefault", + "typetest.property.optional.OptionalClient.collections_byte.get_all": "Type.Property.Optional.CollectionsByte.getAll", + "typetest.property.optional.OptionalClient.collections_byte.get_default": "Type.Property.Optional.CollectionsByte.getDefault", + "typetest.property.optional.OptionalClient.collections_byte.put_all": "Type.Property.Optional.CollectionsByte.putAll", + "typetest.property.optional.OptionalClient.collections_byte.put_default": "Type.Property.Optional.CollectionsByte.putDefault", + "typetest.property.optional.OptionalClient.collections_model.get_all": "Type.Property.Optional.CollectionsModel.getAll", + "typetest.property.optional.OptionalClient.collections_model.get_default": "Type.Property.Optional.CollectionsModel.getDefault", + "typetest.property.optional.OptionalClient.collections_model.put_all": "Type.Property.Optional.CollectionsModel.putAll", + "typetest.property.optional.OptionalClient.collections_model.put_default": "Type.Property.Optional.CollectionsModel.putDefault", + "typetest.property.optional.OptionalClient.string_literal.get_all": "Type.Property.Optional.StringLiteral.getAll", + "typetest.property.optional.OptionalClient.string_literal.get_default": "Type.Property.Optional.StringLiteral.getDefault", + "typetest.property.optional.OptionalClient.string_literal.put_all": "Type.Property.Optional.StringLiteral.putAll", + "typetest.property.optional.OptionalClient.string_literal.put_default": "Type.Property.Optional.StringLiteral.putDefault", + "typetest.property.optional.OptionalClient.int_literal.get_all": "Type.Property.Optional.IntLiteral.getAll", + "typetest.property.optional.OptionalClient.int_literal.get_default": "Type.Property.Optional.IntLiteral.getDefault", + "typetest.property.optional.OptionalClient.int_literal.put_all": "Type.Property.Optional.IntLiteral.putAll", + "typetest.property.optional.OptionalClient.int_literal.put_default": "Type.Property.Optional.IntLiteral.putDefault", + "typetest.property.optional.OptionalClient.float_literal.get_all": "Type.Property.Optional.FloatLiteral.getAll", + "typetest.property.optional.OptionalClient.float_literal.get_default": "Type.Property.Optional.FloatLiteral.getDefault", + "typetest.property.optional.OptionalClient.float_literal.put_all": "Type.Property.Optional.FloatLiteral.putAll", + "typetest.property.optional.OptionalClient.float_literal.put_default": "Type.Property.Optional.FloatLiteral.putDefault", + "typetest.property.optional.OptionalClient.boolean_literal.get_all": "Type.Property.Optional.BooleanLiteral.getAll", + "typetest.property.optional.OptionalClient.boolean_literal.get_default": "Type.Property.Optional.BooleanLiteral.getDefault", + "typetest.property.optional.OptionalClient.boolean_literal.put_all": "Type.Property.Optional.BooleanLiteral.putAll", + "typetest.property.optional.OptionalClient.boolean_literal.put_default": "Type.Property.Optional.BooleanLiteral.putDefault", + "typetest.property.optional.OptionalClient.union_string_literal.get_all": "Type.Property.Optional.UnionStringLiteral.getAll", + "typetest.property.optional.OptionalClient.union_string_literal.get_default": "Type.Property.Optional.UnionStringLiteral.getDefault", + "typetest.property.optional.OptionalClient.union_string_literal.put_all": "Type.Property.Optional.UnionStringLiteral.putAll", + "typetest.property.optional.OptionalClient.union_string_literal.put_default": "Type.Property.Optional.UnionStringLiteral.putDefault", + "typetest.property.optional.OptionalClient.union_int_literal.get_all": "Type.Property.Optional.UnionIntLiteral.getAll", + "typetest.property.optional.OptionalClient.union_int_literal.get_default": "Type.Property.Optional.UnionIntLiteral.getDefault", + "typetest.property.optional.OptionalClient.union_int_literal.put_all": "Type.Property.Optional.UnionIntLiteral.putAll", + "typetest.property.optional.OptionalClient.union_int_literal.put_default": "Type.Property.Optional.UnionIntLiteral.putDefault", + "typetest.property.optional.OptionalClient.union_float_literal.get_all": "Type.Property.Optional.UnionFloatLiteral.getAll", + "typetest.property.optional.OptionalClient.union_float_literal.get_default": "Type.Property.Optional.UnionFloatLiteral.getDefault", + "typetest.property.optional.OptionalClient.union_float_literal.put_all": "Type.Property.Optional.UnionFloatLiteral.putAll", + "typetest.property.optional.OptionalClient.union_float_literal.put_default": "Type.Property.Optional.UnionFloatLiteral.putDefault", + "typetest.property.optional.OptionalClient.required_and_optional.get_all": "Type.Property.Optional.RequiredAndOptional.getAll", + "typetest.property.optional.OptionalClient.required_and_optional.get_required_only": "Type.Property.Optional.RequiredAndOptional.getRequiredOnly", + "typetest.property.optional.OptionalClient.required_and_optional.put_all": "Type.Property.Optional.RequiredAndOptional.putAll", + "typetest.property.optional.OptionalClient.required_and_optional.put_required_only": "Type.Property.Optional.RequiredAndOptional.putRequiredOnly" } } \ No newline at end of file diff --git a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/apiview_mapping_python.json b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/apiview_mapping_python.json index 9ceea55ea0d..d4441dfe940 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/apiview_mapping_python.json +++ b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/apiview_mapping_python.json @@ -34,63 +34,63 @@ "typetest.property.valuetypes.models.ExtendedEnum": "Type.Property.ValueTypes.ExtendedEnum", "typetest.property.valuetypes.models.InnerEnum": "Type.Property.ValueTypes.InnerEnum", "typetest.property.valuetypes.models.FixedInnerEnum": "Type.Property.ValueTypes.FixedInnerEnum", - "typetest.property.valuetypes.ValueTypesClient.boolean.get": "get", - "typetest.property.valuetypes.ValueTypesClient.boolean.put": "put", - "typetest.property.valuetypes.ValueTypesClient.string.get": "get", - "typetest.property.valuetypes.ValueTypesClient.string.put": "put", - "typetest.property.valuetypes.ValueTypesClient.bytes.get": "get", - "typetest.property.valuetypes.ValueTypesClient.bytes.put": "put", - "typetest.property.valuetypes.ValueTypesClient.int_operations.get": "get", - "typetest.property.valuetypes.ValueTypesClient.int_operations.put": "put", - "typetest.property.valuetypes.ValueTypesClient.float.get": "get", - "typetest.property.valuetypes.ValueTypesClient.float.put": "put", - "typetest.property.valuetypes.ValueTypesClient.decimal.get": "get", - "typetest.property.valuetypes.ValueTypesClient.decimal.put": "put", - "typetest.property.valuetypes.ValueTypesClient.decimal128.get": "get", - "typetest.property.valuetypes.ValueTypesClient.decimal128.put": "put", - "typetest.property.valuetypes.ValueTypesClient.datetime.get": "get", - "typetest.property.valuetypes.ValueTypesClient.datetime.put": "put", - "typetest.property.valuetypes.ValueTypesClient.duration.get": "get", - "typetest.property.valuetypes.ValueTypesClient.duration.put": "put", - "typetest.property.valuetypes.ValueTypesClient.enum.get": "get", - "typetest.property.valuetypes.ValueTypesClient.enum.put": "put", - "typetest.property.valuetypes.ValueTypesClient.extensible_enum.get": "get", - "typetest.property.valuetypes.ValueTypesClient.extensible_enum.put": "put", - "typetest.property.valuetypes.ValueTypesClient.model.get": "get", - "typetest.property.valuetypes.ValueTypesClient.model.put": "put", - "typetest.property.valuetypes.ValueTypesClient.collections_string.get": "get", - "typetest.property.valuetypes.ValueTypesClient.collections_string.put": "put", - "typetest.property.valuetypes.ValueTypesClient.collections_int.get": "get", - "typetest.property.valuetypes.ValueTypesClient.collections_int.put": "put", - "typetest.property.valuetypes.ValueTypesClient.collections_model.get": "get", - "typetest.property.valuetypes.ValueTypesClient.collections_model.put": "put", - "typetest.property.valuetypes.ValueTypesClient.dictionary_string.get": "get", - "typetest.property.valuetypes.ValueTypesClient.dictionary_string.put": "put", - "typetest.property.valuetypes.ValueTypesClient.never.get": "get", - "typetest.property.valuetypes.ValueTypesClient.never.put": "put", - "typetest.property.valuetypes.ValueTypesClient.unknown_string.get": "get", - "typetest.property.valuetypes.ValueTypesClient.unknown_string.put": "put", - "typetest.property.valuetypes.ValueTypesClient.unknown_int.get": "get", - "typetest.property.valuetypes.ValueTypesClient.unknown_int.put": "put", - "typetest.property.valuetypes.ValueTypesClient.unknown_dict.get": "get", - "typetest.property.valuetypes.ValueTypesClient.unknown_dict.put": "put", - "typetest.property.valuetypes.ValueTypesClient.unknown_array.get": "get", - "typetest.property.valuetypes.ValueTypesClient.unknown_array.put": "put", - "typetest.property.valuetypes.ValueTypesClient.string_literal.get": "get", - "typetest.property.valuetypes.ValueTypesClient.string_literal.put": "put", - "typetest.property.valuetypes.ValueTypesClient.int_literal.get": "get", - "typetest.property.valuetypes.ValueTypesClient.int_literal.put": "put", - "typetest.property.valuetypes.ValueTypesClient.float_literal.get": "get", - "typetest.property.valuetypes.ValueTypesClient.float_literal.put": "put", - "typetest.property.valuetypes.ValueTypesClient.boolean_literal.get": "get", - "typetest.property.valuetypes.ValueTypesClient.boolean_literal.put": "put", - "typetest.property.valuetypes.ValueTypesClient.union_string_literal.get": "get", - "typetest.property.valuetypes.ValueTypesClient.union_string_literal.put": "put", - "typetest.property.valuetypes.ValueTypesClient.union_int_literal.get": "get", - "typetest.property.valuetypes.ValueTypesClient.union_int_literal.put": "put", - "typetest.property.valuetypes.ValueTypesClient.union_float_literal.get": "get", - "typetest.property.valuetypes.ValueTypesClient.union_float_literal.put": "put", - "typetest.property.valuetypes.ValueTypesClient.union_enum_value.get": "get", - "typetest.property.valuetypes.ValueTypesClient.union_enum_value.put": "put" + "typetest.property.valuetypes.ValueTypesClient.boolean.get": "Type.Property.ValueTypes.Boolean.get", + "typetest.property.valuetypes.ValueTypesClient.boolean.put": "Type.Property.ValueTypes.Boolean.put", + "typetest.property.valuetypes.ValueTypesClient.string.get": "Type.Property.ValueTypes.String.get", + "typetest.property.valuetypes.ValueTypesClient.string.put": "Type.Property.ValueTypes.String.put", + "typetest.property.valuetypes.ValueTypesClient.bytes.get": "Type.Property.ValueTypes.Bytes.get", + "typetest.property.valuetypes.ValueTypesClient.bytes.put": "Type.Property.ValueTypes.Bytes.put", + "typetest.property.valuetypes.ValueTypesClient.int_operations.get": "Type.Property.ValueTypes.Int.get", + "typetest.property.valuetypes.ValueTypesClient.int_operations.put": "Type.Property.ValueTypes.Int.put", + "typetest.property.valuetypes.ValueTypesClient.float.get": "Type.Property.ValueTypes.Float.get", + "typetest.property.valuetypes.ValueTypesClient.float.put": "Type.Property.ValueTypes.Float.put", + "typetest.property.valuetypes.ValueTypesClient.decimal.get": "Type.Property.ValueTypes.Decimal.get", + "typetest.property.valuetypes.ValueTypesClient.decimal.put": "Type.Property.ValueTypes.Decimal.put", + "typetest.property.valuetypes.ValueTypesClient.decimal128.get": "Type.Property.ValueTypes.Decimal128.get", + "typetest.property.valuetypes.ValueTypesClient.decimal128.put": "Type.Property.ValueTypes.Decimal128.put", + "typetest.property.valuetypes.ValueTypesClient.datetime.get": "Type.Property.ValueTypes.Datetime.get", + "typetest.property.valuetypes.ValueTypesClient.datetime.put": "Type.Property.ValueTypes.Datetime.put", + "typetest.property.valuetypes.ValueTypesClient.duration.get": "Type.Property.ValueTypes.Duration.get", + "typetest.property.valuetypes.ValueTypesClient.duration.put": "Type.Property.ValueTypes.Duration.put", + "typetest.property.valuetypes.ValueTypesClient.enum.get": "Type.Property.ValueTypes.Enum.get", + "typetest.property.valuetypes.ValueTypesClient.enum.put": "Type.Property.ValueTypes.Enum.put", + "typetest.property.valuetypes.ValueTypesClient.extensible_enum.get": "Type.Property.ValueTypes.ExtensibleEnum.get", + "typetest.property.valuetypes.ValueTypesClient.extensible_enum.put": "Type.Property.ValueTypes.ExtensibleEnum.put", + "typetest.property.valuetypes.ValueTypesClient.model.get": "Type.Property.ValueTypes.Model.get", + "typetest.property.valuetypes.ValueTypesClient.model.put": "Type.Property.ValueTypes.Model.put", + "typetest.property.valuetypes.ValueTypesClient.collections_string.get": "Type.Property.ValueTypes.CollectionsString.get", + "typetest.property.valuetypes.ValueTypesClient.collections_string.put": "Type.Property.ValueTypes.CollectionsString.put", + "typetest.property.valuetypes.ValueTypesClient.collections_int.get": "Type.Property.ValueTypes.CollectionsInt.get", + "typetest.property.valuetypes.ValueTypesClient.collections_int.put": "Type.Property.ValueTypes.CollectionsInt.put", + "typetest.property.valuetypes.ValueTypesClient.collections_model.get": "Type.Property.ValueTypes.CollectionsModel.get", + "typetest.property.valuetypes.ValueTypesClient.collections_model.put": "Type.Property.ValueTypes.CollectionsModel.put", + "typetest.property.valuetypes.ValueTypesClient.dictionary_string.get": "Type.Property.ValueTypes.DictionaryString.get", + "typetest.property.valuetypes.ValueTypesClient.dictionary_string.put": "Type.Property.ValueTypes.DictionaryString.put", + "typetest.property.valuetypes.ValueTypesClient.never.get": "Type.Property.ValueTypes.Never.get", + "typetest.property.valuetypes.ValueTypesClient.never.put": "Type.Property.ValueTypes.Never.put", + "typetest.property.valuetypes.ValueTypesClient.unknown_string.get": "Type.Property.ValueTypes.UnknownString.get", + "typetest.property.valuetypes.ValueTypesClient.unknown_string.put": "Type.Property.ValueTypes.UnknownString.put", + "typetest.property.valuetypes.ValueTypesClient.unknown_int.get": "Type.Property.ValueTypes.UnknownInt.get", + "typetest.property.valuetypes.ValueTypesClient.unknown_int.put": "Type.Property.ValueTypes.UnknownInt.put", + "typetest.property.valuetypes.ValueTypesClient.unknown_dict.get": "Type.Property.ValueTypes.UnknownDict.get", + "typetest.property.valuetypes.ValueTypesClient.unknown_dict.put": "Type.Property.ValueTypes.UnknownDict.put", + "typetest.property.valuetypes.ValueTypesClient.unknown_array.get": "Type.Property.ValueTypes.UnknownArray.get", + "typetest.property.valuetypes.ValueTypesClient.unknown_array.put": "Type.Property.ValueTypes.UnknownArray.put", + "typetest.property.valuetypes.ValueTypesClient.string_literal.get": "Type.Property.ValueTypes.StringLiteral.get", + "typetest.property.valuetypes.ValueTypesClient.string_literal.put": "Type.Property.ValueTypes.StringLiteral.put", + "typetest.property.valuetypes.ValueTypesClient.int_literal.get": "Type.Property.ValueTypes.IntLiteral.get", + "typetest.property.valuetypes.ValueTypesClient.int_literal.put": "Type.Property.ValueTypes.IntLiteral.put", + "typetest.property.valuetypes.ValueTypesClient.float_literal.get": "Type.Property.ValueTypes.FloatLiteral.get", + "typetest.property.valuetypes.ValueTypesClient.float_literal.put": "Type.Property.ValueTypes.FloatLiteral.put", + "typetest.property.valuetypes.ValueTypesClient.boolean_literal.get": "Type.Property.ValueTypes.BooleanLiteral.get", + "typetest.property.valuetypes.ValueTypesClient.boolean_literal.put": "Type.Property.ValueTypes.BooleanLiteral.put", + "typetest.property.valuetypes.ValueTypesClient.union_string_literal.get": "Type.Property.ValueTypes.UnionStringLiteral.get", + "typetest.property.valuetypes.ValueTypesClient.union_string_literal.put": "Type.Property.ValueTypes.UnionStringLiteral.put", + "typetest.property.valuetypes.ValueTypesClient.union_int_literal.get": "Type.Property.ValueTypes.UnionIntLiteral.get", + "typetest.property.valuetypes.ValueTypesClient.union_int_literal.put": "Type.Property.ValueTypes.UnionIntLiteral.put", + "typetest.property.valuetypes.ValueTypesClient.union_float_literal.get": "Type.Property.ValueTypes.UnionFloatLiteral.get", + "typetest.property.valuetypes.ValueTypesClient.union_float_literal.put": "Type.Property.ValueTypes.UnionFloatLiteral.put", + "typetest.property.valuetypes.ValueTypesClient.union_enum_value.get": "Type.Property.ValueTypes.UnionEnumValue.get", + "typetest.property.valuetypes.ValueTypesClient.union_enum_value.put": "Type.Property.ValueTypes.UnionEnumValue.put" } } \ No newline at end of file diff --git a/packages/typespec-python/test/azure/generated/typetest-scalar/apiview_mapping_python.json b/packages/typespec-python/test/azure/generated/typetest-scalar/apiview_mapping_python.json index b5a3d48df00..b1fe8917acc 100644 --- a/packages/typespec-python/test/azure/generated/typetest-scalar/apiview_mapping_python.json +++ b/packages/typespec-python/test/azure/generated/typetest-scalar/apiview_mapping_python.json @@ -1,21 +1,21 @@ { "CrossLanguagePackageId": "Type.Scalar", "CrossLanguageDefinitionId": { - "typetest.scalar.ScalarClient.string.get": "get", - "typetest.scalar.ScalarClient.string.put": "put", - "typetest.scalar.ScalarClient.boolean.get": "get", - "typetest.scalar.ScalarClient.boolean.put": "put", - "typetest.scalar.ScalarClient.unknown.get": "get", - "typetest.scalar.ScalarClient.unknown.put": "put", - "typetest.scalar.ScalarClient.decimal_type.response_body": "responseBody", - "typetest.scalar.ScalarClient.decimal_type.request_body": "requestBody", - "typetest.scalar.ScalarClient.decimal_type.request_parameter": "requestParameter", - "typetest.scalar.ScalarClient.decimal128_type.response_body": "responseBody", - "typetest.scalar.ScalarClient.decimal128_type.request_body": "requestBody", - "typetest.scalar.ScalarClient.decimal128_type.request_parameter": "requestParameter", - "typetest.scalar.ScalarClient.decimal_verify.prepare_verify": "prepareVerify", - "typetest.scalar.ScalarClient.decimal_verify.verify": "verify", - "typetest.scalar.ScalarClient.decimal128_verify.prepare_verify": "prepareVerify", - "typetest.scalar.ScalarClient.decimal128_verify.verify": "verify" + "typetest.scalar.ScalarClient.string.get": "Type.Scalar.String.get", + "typetest.scalar.ScalarClient.string.put": "Type.Scalar.String.put", + "typetest.scalar.ScalarClient.boolean.get": "Type.Scalar.Boolean.get", + "typetest.scalar.ScalarClient.boolean.put": "Type.Scalar.Boolean.put", + "typetest.scalar.ScalarClient.unknown.get": "Type.Scalar.Unknown.get", + "typetest.scalar.ScalarClient.unknown.put": "Type.Scalar.Unknown.put", + "typetest.scalar.ScalarClient.decimal_type.response_body": "Type.Scalar.DecimalType.responseBody", + "typetest.scalar.ScalarClient.decimal_type.request_body": "Type.Scalar.DecimalType.requestBody", + "typetest.scalar.ScalarClient.decimal_type.request_parameter": "Type.Scalar.DecimalType.requestParameter", + "typetest.scalar.ScalarClient.decimal128_type.response_body": "Type.Scalar.Decimal128Type.responseBody", + "typetest.scalar.ScalarClient.decimal128_type.request_body": "Type.Scalar.Decimal128Type.requestBody", + "typetest.scalar.ScalarClient.decimal128_type.request_parameter": "Type.Scalar.Decimal128Type.requestParameter", + "typetest.scalar.ScalarClient.decimal_verify.prepare_verify": "Type.Scalar.DecimalVerify.prepareVerify", + "typetest.scalar.ScalarClient.decimal_verify.verify": "Type.Scalar.DecimalVerify.verify", + "typetest.scalar.ScalarClient.decimal128_verify.prepare_verify": "Type.Scalar.Decimal128Verify.prepareVerify", + "typetest.scalar.ScalarClient.decimal128_verify.verify": "Type.Scalar.Decimal128Verify.verify" } } \ No newline at end of file diff --git a/packages/typespec-python/test/azure/generated/typetest-union/apiview_mapping_python.json b/packages/typespec-python/test/azure/generated/typetest-union/apiview_mapping_python.json index c36abab2333..d6590a38634 100644 --- a/packages/typespec-python/test/azure/generated/typetest-union/apiview_mapping_python.json +++ b/packages/typespec-python/test/azure/generated/typetest-union/apiview_mapping_python.json @@ -28,25 +28,25 @@ "typetest.union.models.SendRequest9": "Type.Union.SendRequest9", "typetest.union.models.StringAndArrayCases": "Type.Union.StringAndArrayCases", "typetest.union.models.StringExtensibleNamedUnion": "Type.Union.StringExtensibleNamedUnion", - "typetest.union.UnionClient.strings_only.get": "get", - "typetest.union.UnionClient.strings_only.send": "send", - "typetest.union.UnionClient.string_extensible.get": "get", - "typetest.union.UnionClient.string_extensible.send": "send", - "typetest.union.UnionClient.string_extensible_named.get": "get", - "typetest.union.UnionClient.string_extensible_named.send": "send", - "typetest.union.UnionClient.ints_only.get": "get", - "typetest.union.UnionClient.ints_only.send": "send", - "typetest.union.UnionClient.floats_only.get": "get", - "typetest.union.UnionClient.floats_only.send": "send", - "typetest.union.UnionClient.models_only.get": "get", - "typetest.union.UnionClient.models_only.send": "send", - "typetest.union.UnionClient.enums_only.get": "get", - "typetest.union.UnionClient.enums_only.send": "send", - "typetest.union.UnionClient.string_and_array.get": "get", - "typetest.union.UnionClient.string_and_array.send": "send", - "typetest.union.UnionClient.mixed_literals.get": "get", - "typetest.union.UnionClient.mixed_literals.send": "send", - "typetest.union.UnionClient.mixed_types.get": "get", - "typetest.union.UnionClient.mixed_types.send": "send" + "typetest.union.UnionClient.strings_only.get": "Type.Union.StringsOnly.get", + "typetest.union.UnionClient.strings_only.send": "Type.Union.StringsOnly.send", + "typetest.union.UnionClient.string_extensible.get": "Type.Union.StringExtensible.get", + "typetest.union.UnionClient.string_extensible.send": "Type.Union.StringExtensible.send", + "typetest.union.UnionClient.string_extensible_named.get": "Type.Union.StringExtensibleNamed.get", + "typetest.union.UnionClient.string_extensible_named.send": "Type.Union.StringExtensibleNamed.send", + "typetest.union.UnionClient.ints_only.get": "Type.Union.IntsOnly.get", + "typetest.union.UnionClient.ints_only.send": "Type.Union.IntsOnly.send", + "typetest.union.UnionClient.floats_only.get": "Type.Union.FloatsOnly.get", + "typetest.union.UnionClient.floats_only.send": "Type.Union.FloatsOnly.send", + "typetest.union.UnionClient.models_only.get": "Type.Union.ModelsOnly.get", + "typetest.union.UnionClient.models_only.send": "Type.Union.ModelsOnly.send", + "typetest.union.UnionClient.enums_only.get": "Type.Union.EnumsOnly.get", + "typetest.union.UnionClient.enums_only.send": "Type.Union.EnumsOnly.send", + "typetest.union.UnionClient.string_and_array.get": "Type.Union.StringAndArray.get", + "typetest.union.UnionClient.string_and_array.send": "Type.Union.StringAndArray.send", + "typetest.union.UnionClient.mixed_literals.get": "Type.Union.MixedLiterals.get", + "typetest.union.UnionClient.mixed_literals.send": "Type.Union.MixedLiterals.send", + "typetest.union.UnionClient.mixed_types.get": "Type.Union.MixedTypes.get", + "typetest.union.UnionClient.mixed_types.send": "Type.Union.MixedTypes.send" } } \ No newline at end of file diff --git a/packages/typespec-python/test/unbranded/mock_api_tests/cadl-ranch-config.yaml b/packages/typespec-python/test/unbranded/mock_api_tests/cadl-ranch-config.yaml new file mode 100644 index 00000000000..31f7b908272 --- /dev/null +++ b/packages/typespec-python/test/unbranded/mock_api_tests/cadl-ranch-config.yaml @@ -0,0 +1,29 @@ +unsupportedScenarios: + Azure_ClientGenerator_Core_Access_InternalOperation + Azure_ClientGenerator_Core_Access_PublicOperation + Azure_ClientGenerator_Core_Access_RelativeModelInOperation + Azure_ClientGenerator_Core_Access_SharedModelInOperation + Azure_ClientGenerator_Core_Usage_ModelInOperation + Azure_Core_Basic_createOrReplace + Azure_Core_Basic_createOrUpdate + Azure_Core_Basic_delete + Azure_Core_Basic_export + Azure_Core_Basic_get + Azure_Core_Basic_list + Azure_Core_Basic_listWithCustomPageModel + Azure_Core_Basic_listWithPage + Azure_Core_Basic_listWithParameters + Azure_Core_Basic_TwoModelsAsPageItem + Azure_Core_Lro_Rpc_longRunningRpc + Azure_Core_Lro_Standard_createOrReplace + Azure_Core_Lro_Standard_delete + Azure_Core_Lro_Standard_export + Azure_Core_Scalar_AzureLocationScalar_get + Azure_Core_Scalar_AzureLocationScalar_header + Azure_Core_Scalar_AzureLocationScalar_post + Azure_Core_Scalar_AzureLocationScalar_put + Azure_Core_Scalar_AzureLocationScalar_query + Azure_Core_Traits_repeatableAction + Azure_Core_Traits_smokeTest + Azure_SpecialHeaders_XmsClientRequestId + \ No newline at end of file diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 709d5c995bb..5b427fb6b4c 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -75,7 +75,7 @@ importers: version: 0.33.0(@azure-tools/cadl-ranch-expect@0.13.3)(@azure-tools/typespec-azure-core@0.41.0)(@typespec/compiler@0.55.0)(@typespec/http@0.55.0)(@typespec/rest@0.55.0)(@typespec/versioning@0.55.0) '@azure-tools/typespec-autorest': specifier: ~0.41.0 - version: 0.41.0(@azure-tools/typespec-azure-core@0.41.0)(@azure-tools/typespec-client-generator-core@0.41.6)(@typespec/compiler@0.55.0)(@typespec/http@0.55.0)(@typespec/openapi@0.55.0)(@typespec/rest@0.55.0)(@typespec/versioning@0.55.0) + version: 0.41.0(@azure-tools/typespec-azure-core@0.41.0)(@azure-tools/typespec-client-generator-core@0.41.7)(@typespec/compiler@0.55.0)(@typespec/http@0.55.0)(@typespec/openapi@0.55.0)(@typespec/rest@0.55.0)(@typespec/versioning@0.55.0) '@azure-tools/typespec-azure-core': specifier: ~0.41.0 version: 0.41.0(@typespec/compiler@0.55.0)(@typespec/http@0.55.0)(@typespec/rest@0.55.0) @@ -83,8 +83,8 @@ importers: specifier: ~0.41.0 version: 0.41.0(@azure-tools/typespec-autorest@0.41.0)(@azure-tools/typespec-azure-core@0.41.0)(@typespec/compiler@0.55.0)(@typespec/http@0.55.0)(@typespec/openapi@0.55.0)(@typespec/rest@0.55.0)(@typespec/versioning@0.55.0) '@azure-tools/typespec-client-generator-core': - specifier: ~0.41.6 - version: 0.41.6(@azure-tools/typespec-azure-core@0.41.0)(@typespec/compiler@0.55.0)(@typespec/http@0.55.0)(@typespec/rest@0.55.0)(@typespec/versioning@0.55.0) + specifier: ~0.41.7 + version: 0.41.7(@azure-tools/typespec-azure-core@0.41.0)(@typespec/compiler@0.55.0)(@typespec/http@0.55.0)(@typespec/rest@0.55.0)(@typespec/versioning@0.55.0) '@types/js-yaml': specifier: ~4.0.5 version: 4.0.5 @@ -270,7 +270,7 @@ packages: - supports-color dev: true - /@azure-tools/typespec-autorest@0.41.0(@azure-tools/typespec-azure-core@0.41.0)(@azure-tools/typespec-client-generator-core@0.41.6)(@typespec/compiler@0.55.0)(@typespec/http@0.55.0)(@typespec/openapi@0.55.0)(@typespec/rest@0.55.0)(@typespec/versioning@0.55.0): + /@azure-tools/typespec-autorest@0.41.0(@azure-tools/typespec-azure-core@0.41.0)(@azure-tools/typespec-client-generator-core@0.41.7)(@typespec/compiler@0.55.0)(@typespec/http@0.55.0)(@typespec/openapi@0.55.0)(@typespec/rest@0.55.0)(@typespec/versioning@0.55.0): resolution: {integrity: sha512-yMbzIXKO7jH2+w69nhrQoq6tsvEls1rP62bBduFNY8wGsYNirTnbyRoRmP42gG2cGoa9uXcol9fCprarKysXCw==} engines: {node: '>=18.0.0'} peerDependencies: @@ -283,7 +283,7 @@ packages: '@typespec/versioning': ~0.55.0 dependencies: '@azure-tools/typespec-azure-core': 0.41.0(@typespec/compiler@0.55.0)(@typespec/http@0.55.0)(@typespec/rest@0.55.0) - '@azure-tools/typespec-client-generator-core': 0.41.6(@azure-tools/typespec-azure-core@0.41.0)(@typespec/compiler@0.55.0)(@typespec/http@0.55.0)(@typespec/rest@0.55.0)(@typespec/versioning@0.55.0) + '@azure-tools/typespec-client-generator-core': 0.41.7(@azure-tools/typespec-azure-core@0.41.0)(@typespec/compiler@0.55.0)(@typespec/http@0.55.0)(@typespec/rest@0.55.0)(@typespec/versioning@0.55.0) '@typespec/compiler': 0.55.0 '@typespec/http': 0.55.0(@typespec/compiler@0.55.0) '@typespec/openapi': 0.55.0(@typespec/compiler@0.55.0)(@typespec/http@0.55.0) @@ -316,7 +316,7 @@ packages: '@typespec/rest': ~0.55.0 '@typespec/versioning': ~0.55.0 dependencies: - '@azure-tools/typespec-autorest': 0.41.0(@azure-tools/typespec-azure-core@0.41.0)(@azure-tools/typespec-client-generator-core@0.41.6)(@typespec/compiler@0.55.0)(@typespec/http@0.55.0)(@typespec/openapi@0.55.0)(@typespec/rest@0.55.0)(@typespec/versioning@0.55.0) + '@azure-tools/typespec-autorest': 0.41.0(@azure-tools/typespec-azure-core@0.41.0)(@azure-tools/typespec-client-generator-core@0.41.7)(@typespec/compiler@0.55.0)(@typespec/http@0.55.0)(@typespec/openapi@0.55.0)(@typespec/rest@0.55.0)(@typespec/versioning@0.55.0) '@azure-tools/typespec-azure-core': 0.41.0(@typespec/compiler@0.55.0)(@typespec/http@0.55.0)(@typespec/rest@0.55.0) '@typespec/compiler': 0.55.0 '@typespec/http': 0.55.0(@typespec/compiler@0.55.0) @@ -325,8 +325,8 @@ packages: '@typespec/versioning': 0.55.0(@typespec/compiler@0.55.0) dev: true - /@azure-tools/typespec-client-generator-core@0.41.6(@azure-tools/typespec-azure-core@0.41.0)(@typespec/compiler@0.55.0)(@typespec/http@0.55.0)(@typespec/rest@0.55.0)(@typespec/versioning@0.55.0): - resolution: {integrity: sha512-pEv0LQb415QioO6hsYYXWwmsG6Ka3J7SRUgf5zlA6/m6inc8OR1MwFGHdTTjzbp3jG0GDr1C/T7jF1Jy+edyfw==} + /@azure-tools/typespec-client-generator-core@0.41.7(@azure-tools/typespec-azure-core@0.41.0)(@typespec/compiler@0.55.0)(@typespec/http@0.55.0)(@typespec/rest@0.55.0)(@typespec/versioning@0.55.0): + resolution: {integrity: sha512-UY48HKttmbHhqc+OC7fou9ZfVYdnDG/fpwOqhWIZs0/xTgNoRhN3YTxDbx2eDFgaI5bEEwmvwBVy8ZobMW+dFg==} engines: {node: '>=18.0.0'} peerDependencies: '@azure-tools/typespec-azure-core': ~0.41.0