diff --git a/.chronus/changes/upgrade_tcgc-2024-6-26-10-43-24.md b/.chronus/changes/upgrade_tcgc-2024-6-26-10-43-24.md new file mode 100644 index 00000000000..90757ed425b --- /dev/null +++ b/.chronus/changes/upgrade_tcgc-2024-6-26-10-43-24.md @@ -0,0 +1,7 @@ +--- +changeKind: dependencies +packages: + - "@azure-tools/typespec-python" +--- + +upgrade to tcgc 0.44.2 \ No newline at end of file diff --git a/packages/typespec-python/package.json b/packages/typespec-python/package.json index 278dd1f5608..511cfa8ce56 100644 --- a/packages/typespec-python/package.json +++ b/packages/typespec-python/package.json @@ -46,10 +46,10 @@ "peerDependencies": { "@azure-tools/typespec-azure-core": ">=0.44.0 <1.0.0", "@azure-tools/typespec-azure-resource-manager": ">=0.44.0 <1.0.0", - "@azure-tools/typespec-autorest": ">=0.44.0 <1.0.0", + "@azure-tools/typespec-autorest": ">=0.44.1 <1.0.0", "@azure-tools/typespec-client-generator-core": ">=0.44.1 <1.0.0", "@azure-tools/typespec-azure-rulesets": ">=0.44.0 <3.0.0", - "@typespec/compiler": ">=0.58.0 <1.0.0", + "@typespec/compiler": ">=0.58.1 <1.0.0", "@typespec/http": ">=0.58.0 <1.0.0", "@typespec/rest": ">=0.58.0 <1.0.0", "@typespec/versioning": ">=0.58.0 <1.0.0", @@ -69,7 +69,7 @@ }, "devDependencies": { "@azure-tools/typespec-azure-resource-manager": "~0.44.0", - "@azure-tools/typespec-autorest": "~0.44.0", + "@azure-tools/typespec-autorest": "~0.44.1", "@azure-tools/cadl-ranch-expect": "~0.14.1", "@azure-tools/cadl-ranch-specs": "~0.34.5", "@types/js-yaml": "~4.0.5", @@ -83,8 +83,8 @@ "rimraf": "~5.0.0", "typescript": "~5.1.3", "@azure-tools/typespec-azure-core": "~0.44.0", - "@azure-tools/typespec-client-generator-core": "~0.44.1", - "@typespec/compiler": "~0.58.0", + "@azure-tools/typespec-client-generator-core": "~0.44.3", + "@typespec/compiler": "~0.58.1", "@typespec/http": "~0.58.0", "@typespec/rest": "~0.58.0", "@typespec/versioning": "~0.58.0", diff --git a/packages/typespec-python/src/emitter.ts b/packages/typespec-python/src/emitter.ts index d578159e852..b2a5b650eb8 100644 --- a/packages/typespec-python/src/emitter.ts +++ b/packages/typespec-python/src/emitter.ts @@ -55,18 +55,18 @@ function addDefaultOptions(sdkContext: SdkContext) { } } -function createPythonSdkContext( +async function createPythonSdkContext( context: EmitContext, -): PythonSdkContext { +): Promise> { return { - ...createSdkContext(context, "@azure-tools/typespec-python"), + ...(await createSdkContext(context, "@azure-tools/typespec-python")), __endpointPathParameters: [], }; } export async function $onEmit(context: EmitContext) { const program = context.program; - const sdkContext = createPythonSdkContext(context); + const sdkContext = await createPythonSdkContext(context); const root = path.join(dirname(fileURLToPath(import.meta.url)), "..", ".."); const outputDir = context.emitterOutputDir; const yamlMap = emitCodeModel(sdkContext); diff --git a/packages/typespec-python/src/types.ts b/packages/typespec-python/src/types.ts index c6805df01f8..8d8f0e1282d 100644 --- a/packages/typespec-python/src/types.ts +++ b/packages/typespec-python/src/types.ts @@ -102,15 +102,7 @@ export function getType( case "decimal": case "decimal128": case "string": - case "password": - case "guid": case "url": - case "uri": - case "uuid": - case "eTag": - case "armId": - case "ipAddress": - case "azureLocation": return emitBuiltInType(type); case "any": return KnownTypes.any; @@ -182,19 +174,19 @@ function visibilityMapping(visibility?: Visibility[]): string[] | undefined { function emitProperty( context: PythonSdkContext, - type: SdkBodyModelPropertyType, + property: SdkBodyModelPropertyType, ): Record { return { - clientName: camelToSnakeCase(type.name), - wireName: type.serializedName, - type: getType(context, type.type), - optional: type.optional, - description: type.description, - addedOn: getAddedOn(context, type), - visibility: visibilityMapping(type.visibility), - isDiscriminator: type.discriminator, - flatten: type.flatten, - isMultipartFileInput: type.isMultipartFileInput, + clientName: camelToSnakeCase(property.name), + wireName: property.serializedName, + type: getType(context, property.type), + optional: property.optional, + description: property.description, + addedOn: getAddedOn(context, property), + visibility: visibilityMapping(property.visibility), + isDiscriminator: property.discriminator, + flatten: property.flatten, + isMultipartFileInput: property.isMultipartFileInput, }; } 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 5ce08ff8789..7dfbf5f5d35 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,8 +8,8 @@ "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.Naming.Model.client", - "client.naming.NamingClient.model.language": "Client.Naming.Model.language", + "client.naming.NamingClient.client_model.client": "Client.Naming.Model.client", + "client.naming.NamingClient.client_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.operation", diff --git a/packages/typespec-python/test/azure/generated/client-naming/client/naming/_client.py b/packages/typespec-python/test/azure/generated/client-naming/client/naming/_client.py index 0b6cfcd4111..f0084bdeb1f 100644 --- a/packages/typespec-python/test/azure/generated/client-naming/client/naming/_client.py +++ b/packages/typespec-python/test/azure/generated/client-naming/client/naming/_client.py @@ -16,14 +16,14 @@ from ._configuration import NamingClientConfiguration from ._serialization import Deserializer, Serializer -from .operations import ModelOperations, NamingClientOperationsMixin, UnionEnumOperations +from .operations import ClientModelOperations, NamingClientOperationsMixin, UnionEnumOperations class NamingClient(NamingClientOperationsMixin): # pylint: disable=client-accepts-api-version-keyword """Describe changing names of types in a client with ``@clientName``. - :ivar model: ModelOperations operations - :vartype model: client.naming.operations.ModelOperations + :ivar client_model: ClientModelOperations operations + :vartype client_model: client.naming.operations.ClientModelOperations :ivar union_enum: UnionEnumOperations operations :vartype union_enum: client.naming.operations.UnionEnumOperations :keyword endpoint: Service host. Default value is "http://localhost:3000". @@ -56,7 +56,7 @@ def __init__( # pylint: disable=missing-client-constructor-parameter-credential self._serialize = Serializer() self._deserialize = Deserializer() self._serialize.client_side_validation = False - self.model = ModelOperations(self._client, self._config, self._serialize, self._deserialize) + self.client_model = ClientModelOperations(self._client, self._config, self._serialize, self._deserialize) self.union_enum = UnionEnumOperations(self._client, self._config, self._serialize, self._deserialize) def send_request(self, request: HttpRequest, *, stream: bool = False, **kwargs: Any) -> HttpResponse: diff --git a/packages/typespec-python/test/azure/generated/client-naming/client/naming/aio/_client.py b/packages/typespec-python/test/azure/generated/client-naming/client/naming/aio/_client.py index dad56ef1ce1..8e172ccd0c8 100644 --- a/packages/typespec-python/test/azure/generated/client-naming/client/naming/aio/_client.py +++ b/packages/typespec-python/test/azure/generated/client-naming/client/naming/aio/_client.py @@ -16,14 +16,14 @@ from .._serialization import Deserializer, Serializer from ._configuration import NamingClientConfiguration -from .operations import ModelOperations, NamingClientOperationsMixin, UnionEnumOperations +from .operations import ClientModelOperations, NamingClientOperationsMixin, UnionEnumOperations class NamingClient(NamingClientOperationsMixin): # pylint: disable=client-accepts-api-version-keyword """Describe changing names of types in a client with ``@clientName``. - :ivar model: ModelOperations operations - :vartype model: client.naming.aio.operations.ModelOperations + :ivar client_model: ClientModelOperations operations + :vartype client_model: client.naming.aio.operations.ClientModelOperations :ivar union_enum: UnionEnumOperations operations :vartype union_enum: client.naming.aio.operations.UnionEnumOperations :keyword endpoint: Service host. Default value is "http://localhost:3000". @@ -56,7 +56,7 @@ def __init__( # pylint: disable=missing-client-constructor-parameter-credential self._serialize = Serializer() self._deserialize = Deserializer() self._serialize.client_side_validation = False - self.model = ModelOperations(self._client, self._config, self._serialize, self._deserialize) + self.client_model = ClientModelOperations(self._client, self._config, self._serialize, self._deserialize) self.union_enum = UnionEnumOperations(self._client, self._config, self._serialize, self._deserialize) def send_request( diff --git a/packages/typespec-python/test/azure/generated/client-naming/client/naming/aio/operations/__init__.py b/packages/typespec-python/test/azure/generated/client-naming/client/naming/aio/operations/__init__.py index 240b29b4619..4b9a8aa6878 100644 --- a/packages/typespec-python/test/azure/generated/client-naming/client/naming/aio/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/client-naming/client/naming/aio/operations/__init__.py @@ -6,7 +6,7 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -from ._operations import ModelOperations +from ._operations import ClientModelOperations from ._operations import UnionEnumOperations from ._operations import NamingClientOperationsMixin @@ -15,7 +15,7 @@ from ._patch import patch_sdk as _patch_sdk __all__ = [ - "ModelOperations", + "ClientModelOperations", "UnionEnumOperations", "NamingClientOperationsMixin", ] diff --git a/packages/typespec-python/test/azure/generated/client-naming/client/naming/aio/operations/_operations.py b/packages/typespec-python/test/azure/generated/client-naming/client/naming/aio/operations/_operations.py index 342c85b94c7..f8c91bb9d13 100644 --- a/packages/typespec-python/test/azure/generated/client-naming/client/naming/aio/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/client-naming/client/naming/aio/operations/_operations.py @@ -27,8 +27,8 @@ from ... import models as _models from ..._model_base import SdkJSONEncoder from ...operations._operations import ( - build_model_client_request, - build_model_language_request, + build_client_model_client_request, + build_client_model_language_request, build_naming_client_name_request, build_naming_client_request, build_naming_compatible_with_encoded_name_request, @@ -50,14 +50,14 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] -class ModelOperations: +class ClientModelOperations: """ .. warning:: **DO NOT** instantiate this class directly. Instead, you should access the following operations through :class:`~client.naming.aio.NamingClient`'s - :attr:`model` attribute. + :attr:`client_model` attribute. """ def __init__(self, *args, **kwargs) -> None: @@ -164,7 +164,7 @@ async def client( # pylint: disable=inconsistent-return-statements else: _content = json.dumps(body, cls=SdkJSONEncoder, exclude_readonly=True) # type: ignore - _request = build_model_client_request( + _request = build_client_model_client_request( content_type=content_type, content=_content, headers=_headers, @@ -283,7 +283,7 @@ async def language( # pylint: disable=inconsistent-return-statements else: _content = json.dumps(body, cls=SdkJSONEncoder, exclude_readonly=True) # type: ignore - _request = build_model_language_request( + _request = build_client_model_language_request( content_type=content_type, content=_content, headers=_headers, diff --git a/packages/typespec-python/test/azure/generated/client-naming/client/naming/operations/__init__.py b/packages/typespec-python/test/azure/generated/client-naming/client/naming/operations/__init__.py index 240b29b4619..4b9a8aa6878 100644 --- a/packages/typespec-python/test/azure/generated/client-naming/client/naming/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/client-naming/client/naming/operations/__init__.py @@ -6,7 +6,7 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -from ._operations import ModelOperations +from ._operations import ClientModelOperations from ._operations import UnionEnumOperations from ._operations import NamingClientOperationsMixin @@ -15,7 +15,7 @@ from ._patch import patch_sdk as _patch_sdk __all__ = [ - "ModelOperations", + "ClientModelOperations", "UnionEnumOperations", "NamingClientOperationsMixin", ] diff --git a/packages/typespec-python/test/azure/generated/client-naming/client/naming/operations/_operations.py b/packages/typespec-python/test/azure/generated/client-naming/client/naming/operations/_operations.py index f4c93fb680e..dc5000b3a03 100644 --- a/packages/typespec-python/test/azure/generated/client-naming/client/naming/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/client-naming/client/naming/operations/_operations.py @@ -41,7 +41,7 @@ _SERIALIZER.client_side_validation = False -def build_model_client_request(**kwargs: Any) -> HttpRequest: +def build_client_model_client_request(**kwargs: Any) -> HttpRequest: _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None)) @@ -55,7 +55,7 @@ def build_model_client_request(**kwargs: Any) -> HttpRequest: return HttpRequest(method="POST", url=_url, headers=_headers, **kwargs) -def build_model_language_request(**kwargs: Any) -> HttpRequest: +def build_client_model_language_request(**kwargs: Any) -> HttpRequest: _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None)) @@ -175,14 +175,14 @@ def build_naming_response_request(**kwargs: Any) -> HttpRequest: return HttpRequest(method="GET", url=_url, **kwargs) -class ModelOperations: +class ClientModelOperations: """ .. warning:: **DO NOT** instantiate this class directly. Instead, you should access the following operations through :class:`~client.naming.NamingClient`'s - :attr:`model` attribute. + :attr:`client_model` attribute. """ def __init__(self, *args, **kwargs): @@ -289,7 +289,7 @@ def client( # pylint: disable=inconsistent-return-statements else: _content = json.dumps(body, cls=SdkJSONEncoder, exclude_readonly=True) # type: ignore - _request = build_model_client_request( + _request = build_client_model_client_request( content_type=content_type, content=_content, headers=_headers, @@ -408,7 +408,7 @@ def language( # pylint: disable=inconsistent-return-statements else: _content = json.dumps(body, cls=SdkJSONEncoder, exclude_readonly=True) # type: ignore - _request = build_model_language_request( + _request = build_client_model_language_request( content_type=content_type, content=_content, headers=_headers, diff --git a/packages/typespec-python/test/azure/generated/client-naming/generated_tests/test_naming_client_model_operations.py b/packages/typespec-python/test/azure/generated/client-naming/generated_tests/test_naming_client_model_operations.py new file mode 100644 index 00000000000..932b32ae449 --- /dev/null +++ b/packages/typespec-python/test/azure/generated/client-naming/generated_tests/test_naming_client_model_operations.py @@ -0,0 +1,35 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from devtools_testutils import recorded_by_proxy +from testpreparer import NamingClientTestBase, NamingPreparer + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNamingClientModelOperations(NamingClientTestBase): + @NamingPreparer() + @recorded_by_proxy + def test_client(self, naming_endpoint): + client = self.create_client(endpoint=naming_endpoint) + response = client.client_model.client( + body={"defaultName": bool}, + ) + + # please add some check logic here by yourself + # ... + + @NamingPreparer() + @recorded_by_proxy + def test_language(self, naming_endpoint): + client = self.create_client(endpoint=naming_endpoint) + response = client.client_model.language( + body={"defaultName": bool}, + ) + + # please add some check logic here by yourself + # ... diff --git a/packages/typespec-python/test/azure/generated/client-naming/generated_tests/test_naming_client_model_operations_async.py b/packages/typespec-python/test/azure/generated/client-naming/generated_tests/test_naming_client_model_operations_async.py new file mode 100644 index 00000000000..d3fbd1342c3 --- /dev/null +++ b/packages/typespec-python/test/azure/generated/client-naming/generated_tests/test_naming_client_model_operations_async.py @@ -0,0 +1,36 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from devtools_testutils.aio import recorded_by_proxy_async +from testpreparer import NamingPreparer +from testpreparer_async import NamingClientTestBaseAsync + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNamingClientModelOperationsAsync(NamingClientTestBaseAsync): + @NamingPreparer() + @recorded_by_proxy_async + async def test_client(self, naming_endpoint): + client = self.create_async_client(endpoint=naming_endpoint) + response = await client.client_model.client( + body={"defaultName": bool}, + ) + + # please add some check logic here by yourself + # ... + + @NamingPreparer() + @recorded_by_proxy_async + async def test_language(self, naming_endpoint): + client = self.create_async_client(endpoint=naming_endpoint) + response = await client.client_model.language( + body={"defaultName": bool}, + ) + + # please add some check logic here by yourself + # ... diff --git a/packages/typespec-python/test/azure/generated/payload-multipart/payload/multipart/apiview_mapping_python.json b/packages/typespec-python/test/azure/generated/payload-multipart/payload/multipart/apiview_mapping_python.json deleted file mode 100644 index 030f5514219..00000000000 --- a/packages/typespec-python/test/azure/generated/payload-multipart/payload/multipart/apiview_mapping_python.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "CrossLanguagePackageId": "Payload.MultiPart", - "CrossLanguageDefinitionId": { - "payload.multipart.models.Address": "Payload.MultiPart.Address", - "payload.multipart.models.BinaryArrayPartsRequest": "Payload.MultiPart.BinaryArrayPartsRequest", - "payload.multipart.models.ComplexPartsRequest": "Payload.MultiPart.ComplexPartsRequest", - "payload.multipart.models.JsonArrayPartsRequest": "Payload.MultiPart.JsonArrayPartsRequest", - "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" - } -} \ No newline at end of file diff --git a/packages/typespec-python/test/generic_mock_api_tests/asynctests/test_client_naming_async.py b/packages/typespec-python/test/generic_mock_api_tests/asynctests/test_client_naming_async.py index be84dfa9561..3d6ff696996 100644 --- a/packages/typespec-python/test/generic_mock_api_tests/asynctests/test_client_naming_async.py +++ b/packages/typespec-python/test/generic_mock_api_tests/asynctests/test_client_naming_async.py @@ -51,12 +51,12 @@ async def test_header_response(client: NamingClient): @pytest.mark.asyncio async def test_model_client(client: NamingClient): - await client.model.client(models.ClientModel(default_name=True)) + await client.client_model.client(models.ClientModel(default_name=True)) @pytest.mark.asyncio async def test_model_language(client: NamingClient): - await client.model.language(models.PythonModel(default_name=True)) + await client.client_model.language(models.PythonModel(default_name=True)) @pytest.mark.asyncio diff --git a/packages/typespec-python/test/generic_mock_api_tests/test_client_naming.py b/packages/typespec-python/test/generic_mock_api_tests/test_client_naming.py index e5e37fd20fd..023c2f3aa87 100644 --- a/packages/typespec-python/test/generic_mock_api_tests/test_client_naming.py +++ b/packages/typespec-python/test/generic_mock_api_tests/test_client_naming.py @@ -42,11 +42,11 @@ def test_header_response(client: NamingClient): def test_model_client(client: NamingClient): - client.model.client(models.ClientModel(default_name=True)) + client.client_model.client(models.ClientModel(default_name=True)) def test_model_language(client: NamingClient): - client.model.language(models.PythonModel(default_name=True)) + client.client_model.language(models.PythonModel(default_name=True)) def test_union_enum_member_name(client: NamingClient): diff --git a/packages/typespec-python/test/unbranded/generated/client-naming/client/naming/_client.py b/packages/typespec-python/test/unbranded/generated/client-naming/client/naming/_client.py index c1f4c3314dc..57099f65b63 100644 --- a/packages/typespec-python/test/unbranded/generated/client-naming/client/naming/_client.py +++ b/packages/typespec-python/test/unbranded/generated/client-naming/client/naming/_client.py @@ -15,14 +15,14 @@ from ._configuration import NamingClientConfiguration from ._serialization import Deserializer, Serializer -from .operations import ModelOperations, NamingClientOperationsMixin, UnionEnumOperations +from .operations import ClientModelOperations, NamingClientOperationsMixin, UnionEnumOperations class NamingClient(NamingClientOperationsMixin): # pylint: disable=client-accepts-api-version-keyword """Describe changing names of types in a client with ``@clientName``. - :ivar model: ModelOperations operations - :vartype model: client.naming.operations.ModelOperations + :ivar client_model: ClientModelOperations operations + :vartype client_model: client.naming.operations.ClientModelOperations :ivar union_enum: UnionEnumOperations operations :vartype union_enum: client.naming.operations.UnionEnumOperations :keyword endpoint: Service host. Default value is "http://localhost:3000". @@ -49,7 +49,7 @@ def __init__( # pylint: disable=missing-client-constructor-parameter-credential self._serialize = Serializer() self._deserialize = Deserializer() self._serialize.client_side_validation = False - self.model = ModelOperations(self._client, self._config, self._serialize, self._deserialize) + self.client_model = ClientModelOperations(self._client, self._config, self._serialize, self._deserialize) self.union_enum = UnionEnumOperations(self._client, self._config, self._serialize, self._deserialize) def send_request(self, request: HttpRequest, *, stream: bool = False, **kwargs: Any) -> HttpResponse: diff --git a/packages/typespec-python/test/unbranded/generated/client-naming/client/naming/aio/_client.py b/packages/typespec-python/test/unbranded/generated/client-naming/client/naming/aio/_client.py index 5650f38cc53..37f21a823e3 100644 --- a/packages/typespec-python/test/unbranded/generated/client-naming/client/naming/aio/_client.py +++ b/packages/typespec-python/test/unbranded/generated/client-naming/client/naming/aio/_client.py @@ -15,14 +15,14 @@ from .._serialization import Deserializer, Serializer from ._configuration import NamingClientConfiguration -from .operations import ModelOperations, NamingClientOperationsMixin, UnionEnumOperations +from .operations import ClientModelOperations, NamingClientOperationsMixin, UnionEnumOperations class NamingClient(NamingClientOperationsMixin): # pylint: disable=client-accepts-api-version-keyword """Describe changing names of types in a client with ``@clientName``. - :ivar model: ModelOperations operations - :vartype model: client.naming.aio.operations.ModelOperations + :ivar client_model: ClientModelOperations operations + :vartype client_model: client.naming.aio.operations.ClientModelOperations :ivar union_enum: UnionEnumOperations operations :vartype union_enum: client.naming.aio.operations.UnionEnumOperations :keyword endpoint: Service host. Default value is "http://localhost:3000". @@ -49,7 +49,7 @@ def __init__( # pylint: disable=missing-client-constructor-parameter-credential self._serialize = Serializer() self._deserialize = Deserializer() self._serialize.client_side_validation = False - self.model = ModelOperations(self._client, self._config, self._serialize, self._deserialize) + self.client_model = ClientModelOperations(self._client, self._config, self._serialize, self._deserialize) self.union_enum = UnionEnumOperations(self._client, self._config, self._serialize, self._deserialize) def send_request( diff --git a/packages/typespec-python/test/unbranded/generated/client-naming/client/naming/aio/operations/__init__.py b/packages/typespec-python/test/unbranded/generated/client-naming/client/naming/aio/operations/__init__.py index e05e042f528..6ca04162ebd 100644 --- a/packages/typespec-python/test/unbranded/generated/client-naming/client/naming/aio/operations/__init__.py +++ b/packages/typespec-python/test/unbranded/generated/client-naming/client/naming/aio/operations/__init__.py @@ -6,7 +6,7 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -from ._operations import ModelOperations +from ._operations import ClientModelOperations from ._operations import UnionEnumOperations from ._operations import NamingClientOperationsMixin @@ -15,7 +15,7 @@ from ._patch import patch_sdk as _patch_sdk __all__ = [ - "ModelOperations", + "ClientModelOperations", "UnionEnumOperations", "NamingClientOperationsMixin", ] diff --git a/packages/typespec-python/test/unbranded/generated/client-naming/client/naming/aio/operations/_operations.py b/packages/typespec-python/test/unbranded/generated/client-naming/client/naming/aio/operations/_operations.py index 848e70f7ff6..b2f00d78fc9 100644 --- a/packages/typespec-python/test/unbranded/generated/client-naming/client/naming/aio/operations/_operations.py +++ b/packages/typespec-python/test/unbranded/generated/client-naming/client/naming/aio/operations/_operations.py @@ -26,8 +26,8 @@ from ... import models as _models from ..._model_base import SdkJSONEncoder from ...operations._operations import ( - build_model_client_request, - build_model_language_request, + build_client_model_client_request, + build_client_model_language_request, build_naming_client_name_request, build_naming_client_request, build_naming_compatible_with_encoded_name_request, @@ -49,14 +49,14 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] -class ModelOperations: +class ClientModelOperations: """ .. warning:: **DO NOT** instantiate this class directly. Instead, you should access the following operations through :class:`~client.naming.aio.NamingClient`'s - :attr:`model` attribute. + :attr:`client_model` attribute. """ def __init__(self, *args, **kwargs) -> None: @@ -162,7 +162,7 @@ async def client( # pylint: disable=inconsistent-return-statements else: _content = json.dumps(body, cls=SdkJSONEncoder, exclude_readonly=True) # type: ignore - _request = build_model_client_request( + _request = build_client_model_client_request( content_type=content_type, content=_content, headers=_headers, @@ -280,7 +280,7 @@ async def language( # pylint: disable=inconsistent-return-statements else: _content = json.dumps(body, cls=SdkJSONEncoder, exclude_readonly=True) # type: ignore - _request = build_model_language_request( + _request = build_client_model_language_request( content_type=content_type, content=_content, headers=_headers, diff --git a/packages/typespec-python/test/unbranded/generated/client-naming/client/naming/operations/__init__.py b/packages/typespec-python/test/unbranded/generated/client-naming/client/naming/operations/__init__.py index e05e042f528..6ca04162ebd 100644 --- a/packages/typespec-python/test/unbranded/generated/client-naming/client/naming/operations/__init__.py +++ b/packages/typespec-python/test/unbranded/generated/client-naming/client/naming/operations/__init__.py @@ -6,7 +6,7 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -from ._operations import ModelOperations +from ._operations import ClientModelOperations from ._operations import UnionEnumOperations from ._operations import NamingClientOperationsMixin @@ -15,7 +15,7 @@ from ._patch import patch_sdk as _patch_sdk __all__ = [ - "ModelOperations", + "ClientModelOperations", "UnionEnumOperations", "NamingClientOperationsMixin", ] diff --git a/packages/typespec-python/test/unbranded/generated/client-naming/client/naming/operations/_operations.py b/packages/typespec-python/test/unbranded/generated/client-naming/client/naming/operations/_operations.py index f5b7991503b..ce1152647ec 100644 --- a/packages/typespec-python/test/unbranded/generated/client-naming/client/naming/operations/_operations.py +++ b/packages/typespec-python/test/unbranded/generated/client-naming/client/naming/operations/_operations.py @@ -40,7 +40,7 @@ _SERIALIZER.client_side_validation = False -def build_model_client_request(**kwargs: Any) -> HttpRequest: +def build_client_model_client_request(**kwargs: Any) -> HttpRequest: _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None)) @@ -54,7 +54,7 @@ def build_model_client_request(**kwargs: Any) -> HttpRequest: return HttpRequest(method="POST", url=_url, headers=_headers, **kwargs) -def build_model_language_request(**kwargs: Any) -> HttpRequest: +def build_client_model_language_request(**kwargs: Any) -> HttpRequest: _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None)) @@ -174,14 +174,14 @@ def build_naming_response_request(**kwargs: Any) -> HttpRequest: return HttpRequest(method="GET", url=_url, **kwargs) -class ModelOperations: +class ClientModelOperations: """ .. warning:: **DO NOT** instantiate this class directly. Instead, you should access the following operations through :class:`~client.naming.NamingClient`'s - :attr:`model` attribute. + :attr:`client_model` attribute. """ def __init__(self, *args, **kwargs): @@ -287,7 +287,7 @@ def client( # pylint: disable=inconsistent-return-statements else: _content = json.dumps(body, cls=SdkJSONEncoder, exclude_readonly=True) # type: ignore - _request = build_model_client_request( + _request = build_client_model_client_request( content_type=content_type, content=_content, headers=_headers, @@ -405,7 +405,7 @@ def language( # pylint: disable=inconsistent-return-statements else: _content = json.dumps(body, cls=SdkJSONEncoder, exclude_readonly=True) # type: ignore - _request = build_model_language_request( + _request = build_client_model_language_request( content_type=content_type, content=_content, headers=_headers, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index c7d3396aec1..d25d28d3fc6 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -71,7 +71,7 @@ importers: version: 1.0.2 '@typespec/openapi3': specifier: ~0.58.0 - version: 0.58.0(@typespec/compiler@0.58.0)(@typespec/http@0.58.0(@typespec/compiler@0.58.0))(@typespec/openapi@0.58.0(@typespec/compiler@0.58.0)(@typespec/http@0.58.0(@typespec/compiler@0.58.0)))(@typespec/versioning@0.58.0(@typespec/compiler@0.58.0))(openapi-types@12.1.3) + version: 0.58.0(@typespec/compiler@0.58.1)(@typespec/http@0.58.0(@typespec/compiler@0.58.1))(@typespec/openapi@0.58.0(@typespec/compiler@0.58.1)(@typespec/http@0.58.0(@typespec/compiler@0.58.1)))(@typespec/versioning@0.58.0(@typespec/compiler@0.58.1))(openapi-types@12.1.3) fs-extra: specifier: ~11.2.0 version: 11.2.0 @@ -84,25 +84,25 @@ importers: devDependencies: '@azure-tools/cadl-ranch-expect': specifier: ~0.14.1 - version: 0.14.1(@typespec/compiler@0.58.0)(@typespec/http@0.58.0(@typespec/compiler@0.58.0))(@typespec/rest@0.58.0(@typespec/compiler@0.58.0)(@typespec/http@0.58.0(@typespec/compiler@0.58.0)))(@typespec/versioning@0.58.0(@typespec/compiler@0.58.0)) + version: 0.14.1(@typespec/compiler@0.58.1)(@typespec/http@0.58.0(@typespec/compiler@0.58.1))(@typespec/rest@0.58.0(@typespec/compiler@0.58.1)(@typespec/http@0.58.0(@typespec/compiler@0.58.1)))(@typespec/versioning@0.58.0(@typespec/compiler@0.58.1)) '@azure-tools/cadl-ranch-specs': specifier: ~0.34.5 - version: 0.34.5(@azure-tools/cadl-ranch-expect@0.14.1(@typespec/compiler@0.58.0)(@typespec/http@0.58.0(@typespec/compiler@0.58.0))(@typespec/rest@0.58.0(@typespec/compiler@0.58.0)(@typespec/http@0.58.0(@typespec/compiler@0.58.0)))(@typespec/versioning@0.58.0(@typespec/compiler@0.58.0)))(@azure-tools/typespec-azure-core@0.44.0(@typespec/compiler@0.58.0)(@typespec/http@0.58.0(@typespec/compiler@0.58.0))(@typespec/rest@0.58.0(@typespec/compiler@0.58.0)(@typespec/http@0.58.0(@typespec/compiler@0.58.0))))(@typespec/compiler@0.58.0)(@typespec/http@0.58.0(@typespec/compiler@0.58.0))(@typespec/rest@0.58.0(@typespec/compiler@0.58.0)(@typespec/http@0.58.0(@typespec/compiler@0.58.0)))(@typespec/versioning@0.58.0(@typespec/compiler@0.58.0))(encoding@0.1.13) + version: 0.34.5(@azure-tools/cadl-ranch-expect@0.14.1(@typespec/compiler@0.58.1)(@typespec/http@0.58.0(@typespec/compiler@0.58.1))(@typespec/rest@0.58.0(@typespec/compiler@0.58.1)(@typespec/http@0.58.0(@typespec/compiler@0.58.1)))(@typespec/versioning@0.58.0(@typespec/compiler@0.58.1)))(@azure-tools/typespec-azure-core@0.44.0(@typespec/compiler@0.58.1)(@typespec/http@0.58.0(@typespec/compiler@0.58.1))(@typespec/rest@0.58.0(@typespec/compiler@0.58.1)(@typespec/http@0.58.0(@typespec/compiler@0.58.1))))(@typespec/compiler@0.58.1)(@typespec/http@0.58.0(@typespec/compiler@0.58.1))(@typespec/rest@0.58.0(@typespec/compiler@0.58.1)(@typespec/http@0.58.0(@typespec/compiler@0.58.1)))(@typespec/versioning@0.58.0(@typespec/compiler@0.58.1))(encoding@0.1.13) '@azure-tools/typespec-autorest': - specifier: ~0.44.0 - version: 0.44.0(j6fpe6tdekojtqt6d7m4ri324q) + specifier: ~0.44.1 + version: 0.44.1(g6tprez7dnpurcxc4joldwybci) '@azure-tools/typespec-azure-core': specifier: ~0.44.0 - version: 0.44.0(@typespec/compiler@0.58.0)(@typespec/http@0.58.0(@typespec/compiler@0.58.0))(@typespec/rest@0.58.0(@typespec/compiler@0.58.0)(@typespec/http@0.58.0(@typespec/compiler@0.58.0))) + version: 0.44.0(@typespec/compiler@0.58.1)(@typespec/http@0.58.0(@typespec/compiler@0.58.1))(@typespec/rest@0.58.0(@typespec/compiler@0.58.1)(@typespec/http@0.58.0(@typespec/compiler@0.58.1))) '@azure-tools/typespec-azure-resource-manager': specifier: ~0.44.0 - version: 0.44.0(@azure-tools/typespec-azure-core@0.44.0(@typespec/compiler@0.58.0)(@typespec/http@0.58.0(@typespec/compiler@0.58.0))(@typespec/rest@0.58.0(@typespec/compiler@0.58.0)(@typespec/http@0.58.0(@typespec/compiler@0.58.0))))(@typespec/compiler@0.58.0)(@typespec/http@0.58.0(@typespec/compiler@0.58.0))(@typespec/openapi@0.58.0(@typespec/compiler@0.58.0)(@typespec/http@0.58.0(@typespec/compiler@0.58.0)))(@typespec/rest@0.58.0(@typespec/compiler@0.58.0)(@typespec/http@0.58.0(@typespec/compiler@0.58.0)))(@typespec/versioning@0.58.0(@typespec/compiler@0.58.0)) + version: 0.44.0(@azure-tools/typespec-azure-core@0.44.0(@typespec/compiler@0.58.1)(@typespec/http@0.58.0(@typespec/compiler@0.58.1))(@typespec/rest@0.58.0(@typespec/compiler@0.58.1)(@typespec/http@0.58.0(@typespec/compiler@0.58.1))))(@typespec/compiler@0.58.1)(@typespec/http@0.58.0(@typespec/compiler@0.58.1))(@typespec/openapi@0.58.0(@typespec/compiler@0.58.1)(@typespec/http@0.58.0(@typespec/compiler@0.58.1)))(@typespec/rest@0.58.0(@typespec/compiler@0.58.1)(@typespec/http@0.58.0(@typespec/compiler@0.58.1)))(@typespec/versioning@0.58.0(@typespec/compiler@0.58.1)) '@azure-tools/typespec-azure-rulesets': specifier: 0.44.0 - version: 0.44.0(xg3gg6lthdx5oadsldgpwek2zu) + version: 0.44.0(lrhjwdo7bko5ivya3bbewcre24) '@azure-tools/typespec-client-generator-core': - specifier: ~0.44.1 - version: 0.44.1(@azure-tools/typespec-azure-core@0.44.0(@typespec/compiler@0.58.0)(@typespec/http@0.58.0(@typespec/compiler@0.58.0))(@typespec/rest@0.58.0(@typespec/compiler@0.58.0)(@typespec/http@0.58.0(@typespec/compiler@0.58.0))))(@typespec/compiler@0.58.0)(@typespec/http@0.58.0(@typespec/compiler@0.58.0))(@typespec/rest@0.58.0(@typespec/compiler@0.58.0)(@typespec/http@0.58.0(@typespec/compiler@0.58.0)))(@typespec/versioning@0.58.0(@typespec/compiler@0.58.0)) + specifier: ~0.44.3 + version: 0.44.3(@azure-tools/typespec-azure-core@0.44.0(@typespec/compiler@0.58.1)(@typespec/http@0.58.0(@typespec/compiler@0.58.1))(@typespec/rest@0.58.0(@typespec/compiler@0.58.1)(@typespec/http@0.58.0(@typespec/compiler@0.58.1))))(@typespec/compiler@0.58.1)(@typespec/http@0.58.0(@typespec/compiler@0.58.1))(@typespec/openapi@0.58.0(@typespec/compiler@0.58.1)(@typespec/http@0.58.0(@typespec/compiler@0.58.1)))(@typespec/rest@0.58.0(@typespec/compiler@0.58.1)(@typespec/http@0.58.0(@typespec/compiler@0.58.1)))(@typespec/versioning@0.58.0(@typespec/compiler@0.58.1)) '@types/js-yaml': specifier: ~4.0.5 version: 4.0.5 @@ -113,23 +113,23 @@ importers: specifier: ^18.16.3 version: 18.16.3 '@typespec/compiler': - specifier: ~0.58.0 - version: 0.58.0 + specifier: ~0.58.1 + version: 0.58.1 '@typespec/eslint-config-typespec': specifier: ~0.55.0 version: 0.55.0(prettier@3.3.3) '@typespec/http': specifier: ~0.58.0 - version: 0.58.0(@typespec/compiler@0.58.0) + version: 0.58.0(@typespec/compiler@0.58.1) '@typespec/openapi': specifier: ~0.58.0 - version: 0.58.0(@typespec/compiler@0.58.0)(@typespec/http@0.58.0(@typespec/compiler@0.58.0)) + version: 0.58.0(@typespec/compiler@0.58.1)(@typespec/http@0.58.0(@typespec/compiler@0.58.1)) '@typespec/rest': specifier: ~0.58.0 - version: 0.58.0(@typespec/compiler@0.58.0)(@typespec/http@0.58.0(@typespec/compiler@0.58.0)) + version: 0.58.0(@typespec/compiler@0.58.1)(@typespec/http@0.58.0(@typespec/compiler@0.58.1)) '@typespec/versioning': specifier: ~0.58.0 - version: 0.58.0(@typespec/compiler@0.58.0) + version: 0.58.0(@typespec/compiler@0.58.1) c8: specifier: ~7.13.0 version: 7.13.0 @@ -201,13 +201,13 @@ packages: engines: {node: '>=16.0.0'} hasBin: true - '@azure-tools/typespec-autorest@0.44.0': - resolution: {integrity: sha512-GlIQayA6HfKndq1T2qHBXtL6n8gTiShUEhi30zncoBaIUnwumkXSnx18uCQl0EzFmvAqLYt3kbHqQNzZIdGaeQ==} + '@azure-tools/typespec-autorest@0.44.1': + resolution: {integrity: sha512-lw/iM659GuFgckDeRFFu0vx6wGBy814n+mjzbpi0Qwjvj8/hYULSjpty9P4WBDE30rYCUde1pWX5nK6TnwhOkQ==} engines: {node: '>=18.0.0'} peerDependencies: '@azure-tools/typespec-azure-core': ~0.44.0 '@azure-tools/typespec-azure-resource-manager': ~0.44.0 - '@azure-tools/typespec-client-generator-core': ~0.44.0 + '@azure-tools/typespec-client-generator-core': ~0.44.2 '@typespec/compiler': ~0.58.0 '@typespec/http': ~0.58.0 '@typespec/openapi': ~0.58.0 @@ -242,13 +242,14 @@ packages: '@azure-tools/typespec-client-generator-core': ~0.44.0 '@typespec/compiler': ~0.58.0 - '@azure-tools/typespec-client-generator-core@0.44.1': - resolution: {integrity: sha512-hpDYS4J329kPnXMAndburITh81jgOloxLrv6QXJadurnFhxFHb8AycGO8VWgFYTf04cWd7yDx7HutzGSN9C7TQ==} + '@azure-tools/typespec-client-generator-core@0.44.3': + resolution: {integrity: sha512-HXjxQs7ELrTuIDqOjlYhP4rM4AXb143klbiM8dkEGtqNBRCk77gVCGYVH1M3kWKAEs0dQKhzoUukscqRsfELuw==} engines: {node: '>=18.0.0'} peerDependencies: '@azure-tools/typespec-azure-core': ~0.44.0 '@typespec/compiler': ~0.58.0 '@typespec/http': ~0.58.0 + '@typespec/openapi': ~0.58.0 '@typespec/rest': ~0.58.0 '@typespec/versioning': ~0.58.0 @@ -855,6 +856,11 @@ packages: engines: {node: '>=18.0.0'} hasBin: true + '@typespec/compiler@0.58.1': + resolution: {integrity: sha512-bVxxM35r40OtuL4+/9W/g1EevlnWnW6i151nsZAFOJj1xWHoE2G9zkx5/Feic8OlzArjhGGLJOLH3Ez1Wrw35A==} + engines: {node: '>=18.0.0'} + hasBin: true + '@typespec/eslint-config-typespec@0.55.0': resolution: {integrity: sha512-zZI2ERGdgM9T6neL+Qdht3z89elGI38h68vSYnq5KFR3J500llSJI0Yb5NnE1G2Y7pjmBrnYWhL7UoOaGpW42A==} deprecated: Package is deprecated as it was meant for TypeSpec internal use only @@ -3532,16 +3538,30 @@ snapshots: '@typespec/rest': 0.58.0(@typespec/compiler@0.58.0)(@typespec/http@0.58.0(@typespec/compiler@0.58.0)) '@typespec/versioning': 0.58.0(@typespec/compiler@0.58.0) - '@azure-tools/cadl-ranch-specs@0.34.5(@azure-tools/cadl-ranch-expect@0.14.1(@typespec/compiler@0.58.0)(@typespec/http@0.58.0(@typespec/compiler@0.58.0))(@typespec/rest@0.58.0(@typespec/compiler@0.58.0)(@typespec/http@0.58.0(@typespec/compiler@0.58.0)))(@typespec/versioning@0.58.0(@typespec/compiler@0.58.0)))(@azure-tools/typespec-azure-core@0.44.0(@typespec/compiler@0.58.0)(@typespec/http@0.58.0(@typespec/compiler@0.58.0))(@typespec/rest@0.58.0(@typespec/compiler@0.58.0)(@typespec/http@0.58.0(@typespec/compiler@0.58.0))))(@typespec/compiler@0.58.0)(@typespec/http@0.58.0(@typespec/compiler@0.58.0))(@typespec/rest@0.58.0(@typespec/compiler@0.58.0)(@typespec/http@0.58.0(@typespec/compiler@0.58.0)))(@typespec/versioning@0.58.0(@typespec/compiler@0.58.0))(encoding@0.1.13)': + '@azure-tools/cadl-ranch-expect@0.14.1(@typespec/compiler@0.58.0)(@typespec/http@0.58.0(@typespec/compiler@0.58.0))(@typespec/rest@0.58.0(@typespec/compiler@0.58.0)(@typespec/http@0.58.0(@typespec/compiler@0.58.0)))(@typespec/versioning@0.58.0(@typespec/compiler@0.58.1))': dependencies: - '@azure-tools/cadl-ranch': 0.13.4(@typespec/versioning@0.58.0(@typespec/compiler@0.58.0))(encoding@0.1.13) - '@azure-tools/cadl-ranch-api': 0.4.3 - '@azure-tools/cadl-ranch-expect': 0.14.1(@typespec/compiler@0.58.0)(@typespec/http@0.58.0(@typespec/compiler@0.58.0))(@typespec/rest@0.58.0(@typespec/compiler@0.58.0)(@typespec/http@0.58.0(@typespec/compiler@0.58.0)))(@typespec/versioning@0.58.0(@typespec/compiler@0.58.0)) - '@azure-tools/typespec-azure-core': 0.44.0(@typespec/compiler@0.58.0)(@typespec/http@0.58.0(@typespec/compiler@0.58.0))(@typespec/rest@0.58.0(@typespec/compiler@0.58.0)(@typespec/http@0.58.0(@typespec/compiler@0.58.0))) '@typespec/compiler': 0.58.0 '@typespec/http': 0.58.0(@typespec/compiler@0.58.0) '@typespec/rest': 0.58.0(@typespec/compiler@0.58.0)(@typespec/http@0.58.0(@typespec/compiler@0.58.0)) - '@typespec/versioning': 0.58.0(@typespec/compiler@0.58.0) + '@typespec/versioning': 0.58.0(@typespec/compiler@0.58.1) + + '@azure-tools/cadl-ranch-expect@0.14.1(@typespec/compiler@0.58.1)(@typespec/http@0.58.0(@typespec/compiler@0.58.1))(@typespec/rest@0.58.0(@typespec/compiler@0.58.1)(@typespec/http@0.58.0(@typespec/compiler@0.58.1)))(@typespec/versioning@0.58.0(@typespec/compiler@0.58.1))': + dependencies: + '@typespec/compiler': 0.58.1 + '@typespec/http': 0.58.0(@typespec/compiler@0.58.1) + '@typespec/rest': 0.58.0(@typespec/compiler@0.58.1)(@typespec/http@0.58.0(@typespec/compiler@0.58.1)) + '@typespec/versioning': 0.58.0(@typespec/compiler@0.58.1) + + '@azure-tools/cadl-ranch-specs@0.34.5(@azure-tools/cadl-ranch-expect@0.14.1(@typespec/compiler@0.58.1)(@typespec/http@0.58.0(@typespec/compiler@0.58.1))(@typespec/rest@0.58.0(@typespec/compiler@0.58.1)(@typespec/http@0.58.0(@typespec/compiler@0.58.1)))(@typespec/versioning@0.58.0(@typespec/compiler@0.58.1)))(@azure-tools/typespec-azure-core@0.44.0(@typespec/compiler@0.58.1)(@typespec/http@0.58.0(@typespec/compiler@0.58.1))(@typespec/rest@0.58.0(@typespec/compiler@0.58.1)(@typespec/http@0.58.0(@typespec/compiler@0.58.1))))(@typespec/compiler@0.58.1)(@typespec/http@0.58.0(@typespec/compiler@0.58.1))(@typespec/rest@0.58.0(@typespec/compiler@0.58.1)(@typespec/http@0.58.0(@typespec/compiler@0.58.1)))(@typespec/versioning@0.58.0(@typespec/compiler@0.58.1))(encoding@0.1.13)': + dependencies: + '@azure-tools/cadl-ranch': 0.13.4(@typespec/versioning@0.58.0(@typespec/compiler@0.58.1))(encoding@0.1.13) + '@azure-tools/cadl-ranch-api': 0.4.3 + '@azure-tools/cadl-ranch-expect': 0.14.1(@typespec/compiler@0.58.1)(@typespec/http@0.58.0(@typespec/compiler@0.58.1))(@typespec/rest@0.58.0(@typespec/compiler@0.58.1)(@typespec/http@0.58.0(@typespec/compiler@0.58.1)))(@typespec/versioning@0.58.0(@typespec/compiler@0.58.1)) + '@azure-tools/typespec-azure-core': 0.44.0(@typespec/compiler@0.58.1)(@typespec/http@0.58.0(@typespec/compiler@0.58.1))(@typespec/rest@0.58.0(@typespec/compiler@0.58.1)(@typespec/http@0.58.0(@typespec/compiler@0.58.1))) + '@typespec/compiler': 0.58.1 + '@typespec/http': 0.58.0(@typespec/compiler@0.58.1) + '@typespec/rest': 0.58.0(@typespec/compiler@0.58.1)(@typespec/http@0.58.0(@typespec/compiler@0.58.1)) + '@typespec/versioning': 0.58.0(@typespec/compiler@0.58.1) transitivePeerDependencies: - '@types/express' - encoding @@ -3579,48 +3599,81 @@ snapshots: - encoding - supports-color - '@azure-tools/typespec-autorest@0.44.0(j6fpe6tdekojtqt6d7m4ri324q)': + '@azure-tools/cadl-ranch@0.13.4(@typespec/versioning@0.58.0(@typespec/compiler@0.58.1))(encoding@0.1.13)': dependencies: - '@azure-tools/typespec-azure-core': 0.44.0(@typespec/compiler@0.58.0)(@typespec/http@0.58.0(@typespec/compiler@0.58.0))(@typespec/rest@0.58.0(@typespec/compiler@0.58.0)(@typespec/http@0.58.0(@typespec/compiler@0.58.0))) - '@azure-tools/typespec-azure-resource-manager': 0.44.0(@azure-tools/typespec-azure-core@0.44.0(@typespec/compiler@0.58.0)(@typespec/http@0.58.0(@typespec/compiler@0.58.0))(@typespec/rest@0.58.0(@typespec/compiler@0.58.0)(@typespec/http@0.58.0(@typespec/compiler@0.58.0))))(@typespec/compiler@0.58.0)(@typespec/http@0.58.0(@typespec/compiler@0.58.0))(@typespec/openapi@0.58.0(@typespec/compiler@0.58.0)(@typespec/http@0.58.0(@typespec/compiler@0.58.0)))(@typespec/rest@0.58.0(@typespec/compiler@0.58.0)(@typespec/http@0.58.0(@typespec/compiler@0.58.0)))(@typespec/versioning@0.58.0(@typespec/compiler@0.58.0)) - '@azure-tools/typespec-client-generator-core': 0.44.1(@azure-tools/typespec-azure-core@0.44.0(@typespec/compiler@0.58.0)(@typespec/http@0.58.0(@typespec/compiler@0.58.0))(@typespec/rest@0.58.0(@typespec/compiler@0.58.0)(@typespec/http@0.58.0(@typespec/compiler@0.58.0))))(@typespec/compiler@0.58.0)(@typespec/http@0.58.0(@typespec/compiler@0.58.0))(@typespec/rest@0.58.0(@typespec/compiler@0.58.0)(@typespec/http@0.58.0(@typespec/compiler@0.58.0)))(@typespec/versioning@0.58.0(@typespec/compiler@0.58.0)) + '@azure-tools/cadl-ranch-api': 0.4.3 + '@azure-tools/cadl-ranch-coverage-sdk': 0.8.2(encoding@0.1.13) + '@azure-tools/cadl-ranch-expect': 0.14.1(@typespec/compiler@0.58.0)(@typespec/http@0.58.0(@typespec/compiler@0.58.0))(@typespec/rest@0.58.0(@typespec/compiler@0.58.0)(@typespec/http@0.58.0(@typespec/compiler@0.58.0)))(@typespec/versioning@0.58.0(@typespec/compiler@0.58.1)) + '@azure/identity': 4.3.0 + '@types/js-yaml': 4.0.9 '@typespec/compiler': 0.58.0 '@typespec/http': 0.58.0(@typespec/compiler@0.58.0) - '@typespec/openapi': 0.58.0(@typespec/compiler@0.58.0)(@typespec/http@0.58.0(@typespec/compiler@0.58.0)) '@typespec/rest': 0.58.0(@typespec/compiler@0.58.0)(@typespec/http@0.58.0(@typespec/compiler@0.58.0)) - '@typespec/versioning': 0.58.0(@typespec/compiler@0.58.0) + ajv: 8.12.0 + body-parser: 1.20.2 + deep-equal: 2.2.3 + express: 4.19.2 + express-promise-router: 4.1.1(express@4.19.2) + glob: 10.3.12 + jackspeak: 2.1.1 + js-yaml: 4.1.0 + morgan: 1.10.0 + multer: 1.4.5-lts.1 + node-fetch: 3.3.2 + picocolors: 1.0.1 + source-map-support: 0.5.21 + winston: 3.13.0 + xml2js: 0.5.0 + yargs: 17.7.2 + transitivePeerDependencies: + - '@types/express' + - '@typespec/versioning' + - encoding + - supports-color - '@azure-tools/typespec-azure-core@0.44.0(@typespec/compiler@0.58.0)(@typespec/http@0.58.0(@typespec/compiler@0.58.0))(@typespec/rest@0.58.0(@typespec/compiler@0.58.0)(@typespec/http@0.58.0(@typespec/compiler@0.58.0)))': + '@azure-tools/typespec-autorest@0.44.1(g6tprez7dnpurcxc4joldwybci)': dependencies: - '@typespec/compiler': 0.58.0 - '@typespec/http': 0.58.0(@typespec/compiler@0.58.0) - '@typespec/rest': 0.58.0(@typespec/compiler@0.58.0)(@typespec/http@0.58.0(@typespec/compiler@0.58.0)) + '@azure-tools/typespec-azure-core': 0.44.0(@typespec/compiler@0.58.1)(@typespec/http@0.58.0(@typespec/compiler@0.58.1))(@typespec/rest@0.58.0(@typespec/compiler@0.58.1)(@typespec/http@0.58.0(@typespec/compiler@0.58.1))) + '@azure-tools/typespec-azure-resource-manager': 0.44.0(@azure-tools/typespec-azure-core@0.44.0(@typespec/compiler@0.58.1)(@typespec/http@0.58.0(@typespec/compiler@0.58.1))(@typespec/rest@0.58.0(@typespec/compiler@0.58.1)(@typespec/http@0.58.0(@typespec/compiler@0.58.1))))(@typespec/compiler@0.58.1)(@typespec/http@0.58.0(@typespec/compiler@0.58.1))(@typespec/openapi@0.58.0(@typespec/compiler@0.58.1)(@typespec/http@0.58.0(@typespec/compiler@0.58.1)))(@typespec/rest@0.58.0(@typespec/compiler@0.58.1)(@typespec/http@0.58.0(@typespec/compiler@0.58.1)))(@typespec/versioning@0.58.0(@typespec/compiler@0.58.1)) + '@azure-tools/typespec-client-generator-core': 0.44.3(@azure-tools/typespec-azure-core@0.44.0(@typespec/compiler@0.58.1)(@typespec/http@0.58.0(@typespec/compiler@0.58.1))(@typespec/rest@0.58.0(@typespec/compiler@0.58.1)(@typespec/http@0.58.0(@typespec/compiler@0.58.1))))(@typespec/compiler@0.58.1)(@typespec/http@0.58.0(@typespec/compiler@0.58.1))(@typespec/openapi@0.58.0(@typespec/compiler@0.58.1)(@typespec/http@0.58.0(@typespec/compiler@0.58.1)))(@typespec/rest@0.58.0(@typespec/compiler@0.58.1)(@typespec/http@0.58.0(@typespec/compiler@0.58.1)))(@typespec/versioning@0.58.0(@typespec/compiler@0.58.1)) + '@typespec/compiler': 0.58.1 + '@typespec/http': 0.58.0(@typespec/compiler@0.58.1) + '@typespec/openapi': 0.58.0(@typespec/compiler@0.58.1)(@typespec/http@0.58.0(@typespec/compiler@0.58.1)) + '@typespec/rest': 0.58.0(@typespec/compiler@0.58.1)(@typespec/http@0.58.0(@typespec/compiler@0.58.1)) + '@typespec/versioning': 0.58.0(@typespec/compiler@0.58.1) - '@azure-tools/typespec-azure-resource-manager@0.44.0(@azure-tools/typespec-azure-core@0.44.0(@typespec/compiler@0.58.0)(@typespec/http@0.58.0(@typespec/compiler@0.58.0))(@typespec/rest@0.58.0(@typespec/compiler@0.58.0)(@typespec/http@0.58.0(@typespec/compiler@0.58.0))))(@typespec/compiler@0.58.0)(@typespec/http@0.58.0(@typespec/compiler@0.58.0))(@typespec/openapi@0.58.0(@typespec/compiler@0.58.0)(@typespec/http@0.58.0(@typespec/compiler@0.58.0)))(@typespec/rest@0.58.0(@typespec/compiler@0.58.0)(@typespec/http@0.58.0(@typespec/compiler@0.58.0)))(@typespec/versioning@0.58.0(@typespec/compiler@0.58.0))': + '@azure-tools/typespec-azure-core@0.44.0(@typespec/compiler@0.58.1)(@typespec/http@0.58.0(@typespec/compiler@0.58.1))(@typespec/rest@0.58.0(@typespec/compiler@0.58.1)(@typespec/http@0.58.0(@typespec/compiler@0.58.1)))': dependencies: - '@azure-tools/typespec-azure-core': 0.44.0(@typespec/compiler@0.58.0)(@typespec/http@0.58.0(@typespec/compiler@0.58.0))(@typespec/rest@0.58.0(@typespec/compiler@0.58.0)(@typespec/http@0.58.0(@typespec/compiler@0.58.0))) - '@typespec/compiler': 0.58.0 - '@typespec/http': 0.58.0(@typespec/compiler@0.58.0) - '@typespec/openapi': 0.58.0(@typespec/compiler@0.58.0)(@typespec/http@0.58.0(@typespec/compiler@0.58.0)) - '@typespec/rest': 0.58.0(@typespec/compiler@0.58.0)(@typespec/http@0.58.0(@typespec/compiler@0.58.0)) - '@typespec/versioning': 0.58.0(@typespec/compiler@0.58.0) + '@typespec/compiler': 0.58.1 + '@typespec/http': 0.58.0(@typespec/compiler@0.58.1) + '@typespec/rest': 0.58.0(@typespec/compiler@0.58.1)(@typespec/http@0.58.0(@typespec/compiler@0.58.1)) + + '@azure-tools/typespec-azure-resource-manager@0.44.0(@azure-tools/typespec-azure-core@0.44.0(@typespec/compiler@0.58.1)(@typespec/http@0.58.0(@typespec/compiler@0.58.1))(@typespec/rest@0.58.0(@typespec/compiler@0.58.1)(@typespec/http@0.58.0(@typespec/compiler@0.58.1))))(@typespec/compiler@0.58.1)(@typespec/http@0.58.0(@typespec/compiler@0.58.1))(@typespec/openapi@0.58.0(@typespec/compiler@0.58.1)(@typespec/http@0.58.0(@typespec/compiler@0.58.1)))(@typespec/rest@0.58.0(@typespec/compiler@0.58.1)(@typespec/http@0.58.0(@typespec/compiler@0.58.1)))(@typespec/versioning@0.58.0(@typespec/compiler@0.58.1))': + dependencies: + '@azure-tools/typespec-azure-core': 0.44.0(@typespec/compiler@0.58.1)(@typespec/http@0.58.0(@typespec/compiler@0.58.1))(@typespec/rest@0.58.0(@typespec/compiler@0.58.1)(@typespec/http@0.58.0(@typespec/compiler@0.58.1))) + '@typespec/compiler': 0.58.1 + '@typespec/http': 0.58.0(@typespec/compiler@0.58.1) + '@typespec/openapi': 0.58.0(@typespec/compiler@0.58.1)(@typespec/http@0.58.0(@typespec/compiler@0.58.1)) + '@typespec/rest': 0.58.0(@typespec/compiler@0.58.1)(@typespec/http@0.58.0(@typespec/compiler@0.58.1)) + '@typespec/versioning': 0.58.0(@typespec/compiler@0.58.1) change-case: 5.4.4 pluralize: 8.0.0 - '@azure-tools/typespec-azure-rulesets@0.44.0(xg3gg6lthdx5oadsldgpwek2zu)': + '@azure-tools/typespec-azure-rulesets@0.44.0(lrhjwdo7bko5ivya3bbewcre24)': dependencies: - '@azure-tools/typespec-azure-core': 0.44.0(@typespec/compiler@0.58.0)(@typespec/http@0.58.0(@typespec/compiler@0.58.0))(@typespec/rest@0.58.0(@typespec/compiler@0.58.0)(@typespec/http@0.58.0(@typespec/compiler@0.58.0))) - '@azure-tools/typespec-azure-resource-manager': 0.44.0(@azure-tools/typespec-azure-core@0.44.0(@typespec/compiler@0.58.0)(@typespec/http@0.58.0(@typespec/compiler@0.58.0))(@typespec/rest@0.58.0(@typespec/compiler@0.58.0)(@typespec/http@0.58.0(@typespec/compiler@0.58.0))))(@typespec/compiler@0.58.0)(@typespec/http@0.58.0(@typespec/compiler@0.58.0))(@typespec/openapi@0.58.0(@typespec/compiler@0.58.0)(@typespec/http@0.58.0(@typespec/compiler@0.58.0)))(@typespec/rest@0.58.0(@typespec/compiler@0.58.0)(@typespec/http@0.58.0(@typespec/compiler@0.58.0)))(@typespec/versioning@0.58.0(@typespec/compiler@0.58.0)) - '@azure-tools/typespec-client-generator-core': 0.44.1(@azure-tools/typespec-azure-core@0.44.0(@typespec/compiler@0.58.0)(@typespec/http@0.58.0(@typespec/compiler@0.58.0))(@typespec/rest@0.58.0(@typespec/compiler@0.58.0)(@typespec/http@0.58.0(@typespec/compiler@0.58.0))))(@typespec/compiler@0.58.0)(@typespec/http@0.58.0(@typespec/compiler@0.58.0))(@typespec/rest@0.58.0(@typespec/compiler@0.58.0)(@typespec/http@0.58.0(@typespec/compiler@0.58.0)))(@typespec/versioning@0.58.0(@typespec/compiler@0.58.0)) - '@typespec/compiler': 0.58.0 + '@azure-tools/typespec-azure-core': 0.44.0(@typespec/compiler@0.58.1)(@typespec/http@0.58.0(@typespec/compiler@0.58.1))(@typespec/rest@0.58.0(@typespec/compiler@0.58.1)(@typespec/http@0.58.0(@typespec/compiler@0.58.1))) + '@azure-tools/typespec-azure-resource-manager': 0.44.0(@azure-tools/typespec-azure-core@0.44.0(@typespec/compiler@0.58.1)(@typespec/http@0.58.0(@typespec/compiler@0.58.1))(@typespec/rest@0.58.0(@typespec/compiler@0.58.1)(@typespec/http@0.58.0(@typespec/compiler@0.58.1))))(@typespec/compiler@0.58.1)(@typespec/http@0.58.0(@typespec/compiler@0.58.1))(@typespec/openapi@0.58.0(@typespec/compiler@0.58.1)(@typespec/http@0.58.0(@typespec/compiler@0.58.1)))(@typespec/rest@0.58.0(@typespec/compiler@0.58.1)(@typespec/http@0.58.0(@typespec/compiler@0.58.1)))(@typespec/versioning@0.58.0(@typespec/compiler@0.58.1)) + '@azure-tools/typespec-client-generator-core': 0.44.3(@azure-tools/typespec-azure-core@0.44.0(@typespec/compiler@0.58.1)(@typespec/http@0.58.0(@typespec/compiler@0.58.1))(@typespec/rest@0.58.0(@typespec/compiler@0.58.1)(@typespec/http@0.58.0(@typespec/compiler@0.58.1))))(@typespec/compiler@0.58.1)(@typespec/http@0.58.0(@typespec/compiler@0.58.1))(@typespec/openapi@0.58.0(@typespec/compiler@0.58.1)(@typespec/http@0.58.0(@typespec/compiler@0.58.1)))(@typespec/rest@0.58.0(@typespec/compiler@0.58.1)(@typespec/http@0.58.0(@typespec/compiler@0.58.1)))(@typespec/versioning@0.58.0(@typespec/compiler@0.58.1)) + '@typespec/compiler': 0.58.1 - '@azure-tools/typespec-client-generator-core@0.44.1(@azure-tools/typespec-azure-core@0.44.0(@typespec/compiler@0.58.0)(@typespec/http@0.58.0(@typespec/compiler@0.58.0))(@typespec/rest@0.58.0(@typespec/compiler@0.58.0)(@typespec/http@0.58.0(@typespec/compiler@0.58.0))))(@typespec/compiler@0.58.0)(@typespec/http@0.58.0(@typespec/compiler@0.58.0))(@typespec/rest@0.58.0(@typespec/compiler@0.58.0)(@typespec/http@0.58.0(@typespec/compiler@0.58.0)))(@typespec/versioning@0.58.0(@typespec/compiler@0.58.0))': + '@azure-tools/typespec-client-generator-core@0.44.3(@azure-tools/typespec-azure-core@0.44.0(@typespec/compiler@0.58.1)(@typespec/http@0.58.0(@typespec/compiler@0.58.1))(@typespec/rest@0.58.0(@typespec/compiler@0.58.1)(@typespec/http@0.58.0(@typespec/compiler@0.58.1))))(@typespec/compiler@0.58.1)(@typespec/http@0.58.0(@typespec/compiler@0.58.1))(@typespec/openapi@0.58.0(@typespec/compiler@0.58.1)(@typespec/http@0.58.0(@typespec/compiler@0.58.1)))(@typespec/rest@0.58.0(@typespec/compiler@0.58.1)(@typespec/http@0.58.0(@typespec/compiler@0.58.1)))(@typespec/versioning@0.58.0(@typespec/compiler@0.58.1))': dependencies: - '@azure-tools/typespec-azure-core': 0.44.0(@typespec/compiler@0.58.0)(@typespec/http@0.58.0(@typespec/compiler@0.58.0))(@typespec/rest@0.58.0(@typespec/compiler@0.58.0)(@typespec/http@0.58.0(@typespec/compiler@0.58.0))) - '@typespec/compiler': 0.58.0 - '@typespec/http': 0.58.0(@typespec/compiler@0.58.0) - '@typespec/rest': 0.58.0(@typespec/compiler@0.58.0)(@typespec/http@0.58.0(@typespec/compiler@0.58.0)) - '@typespec/versioning': 0.58.0(@typespec/compiler@0.58.0) + '@azure-tools/typespec-azure-core': 0.44.0(@typespec/compiler@0.58.1)(@typespec/http@0.58.0(@typespec/compiler@0.58.1))(@typespec/rest@0.58.0(@typespec/compiler@0.58.1)(@typespec/http@0.58.0(@typespec/compiler@0.58.1))) + '@typespec/compiler': 0.58.1 + '@typespec/http': 0.58.0(@typespec/compiler@0.58.1) + '@typespec/openapi': 0.58.0(@typespec/compiler@0.58.1)(@typespec/http@0.58.0(@typespec/compiler@0.58.1)) + '@typespec/rest': 0.58.0(@typespec/compiler@0.58.1)(@typespec/http@0.58.0(@typespec/compiler@0.58.1)) + '@typespec/versioning': 0.58.0(@typespec/compiler@0.58.1) change-case: 5.4.4 pluralize: 8.0.0 @@ -4388,7 +4441,7 @@ snapshots: dependencies: '@types/node': 18.19.29 - '@typescript-eslint/eslint-plugin@7.13.0(@typescript-eslint/parser@7.13.0(eslint@8.57.0)(typescript@5.1.3))(eslint@8.57.0)(typescript@5.4.5)': + '@typescript-eslint/eslint-plugin@7.13.0(@typescript-eslint/parser@7.13.0(eslint@8.57.0)(typescript@5.4.5))(eslint@8.57.0)(typescript@5.4.5)': dependencies: '@eslint-community/regexpp': 4.10.0 '@typescript-eslint/parser': 7.13.0(eslint@8.57.0)(typescript@5.4.5) @@ -4527,17 +4580,34 @@ snapshots: yaml: 2.4.5 yargs: 17.7.2 + '@typespec/compiler@0.58.1': + dependencies: + '@babel/code-frame': 7.24.7 + ajv: 8.16.0 + change-case: 5.4.4 + globby: 14.0.2 + mustache: 4.2.0 + picocolors: 1.0.1 + prettier: 3.3.3 + prompts: 2.4.2 + semver: 7.6.2 + temporal-polyfill: 0.2.5 + vscode-languageserver: 9.0.1 + vscode-languageserver-textdocument: 1.0.11 + yaml: 2.4.5 + yargs: 17.7.2 + '@typespec/eslint-config-typespec@0.55.0(prettier@3.3.3)': dependencies: '@rushstack/eslint-patch': 1.10.1 - '@typescript-eslint/eslint-plugin': 7.13.0(@typescript-eslint/parser@7.13.0(eslint@8.57.0)(typescript@5.1.3))(eslint@8.57.0)(typescript@5.4.5) + '@typescript-eslint/eslint-plugin': 7.13.0(@typescript-eslint/parser@7.13.0(eslint@8.57.0)(typescript@5.4.5))(eslint@8.57.0)(typescript@5.4.5) '@typescript-eslint/parser': 7.13.0(eslint@8.57.0)(typescript@5.4.5) eslint: 8.57.0 eslint-config-prettier: 9.1.0(eslint@8.57.0) eslint-plugin-deprecation: 2.0.0(eslint@8.57.0)(typescript@5.4.5) eslint-plugin-prettier: 5.1.3(eslint-config-prettier@9.1.0(eslint@8.57.0))(eslint@8.57.0)(prettier@3.3.3) eslint-plugin-unicorn: 51.0.1(eslint@8.57.0) - eslint-plugin-vitest: 0.4.1(@typescript-eslint/eslint-plugin@7.13.0(@typescript-eslint/parser@7.13.0(eslint@8.57.0)(typescript@5.1.3))(eslint@8.57.0)(typescript@5.4.5))(eslint@8.57.0)(typescript@5.4.5) + eslint-plugin-vitest: 0.4.1(@typescript-eslint/eslint-plugin@7.13.0(@typescript-eslint/parser@7.13.0(eslint@8.57.0)(typescript@5.4.5))(eslint@8.57.0)(typescript@5.4.5))(eslint@8.57.0)(typescript@5.4.5) typescript: 5.4.5 transitivePeerDependencies: - '@types/eslint' @@ -4549,21 +4619,25 @@ snapshots: dependencies: '@typespec/compiler': 0.58.0 - '@typespec/openapi3@0.58.0(@typespec/compiler@0.58.0)(@typespec/http@0.58.0(@typespec/compiler@0.58.0))(@typespec/openapi@0.58.0(@typespec/compiler@0.58.0)(@typespec/http@0.58.0(@typespec/compiler@0.58.0)))(@typespec/versioning@0.58.0(@typespec/compiler@0.58.0))(openapi-types@12.1.3)': + '@typespec/http@0.58.0(@typespec/compiler@0.58.1)': + dependencies: + '@typespec/compiler': 0.58.1 + + '@typespec/openapi3@0.58.0(@typespec/compiler@0.58.1)(@typespec/http@0.58.0(@typespec/compiler@0.58.1))(@typespec/openapi@0.58.0(@typespec/compiler@0.58.1)(@typespec/http@0.58.0(@typespec/compiler@0.58.1)))(@typespec/versioning@0.58.0(@typespec/compiler@0.58.1))(openapi-types@12.1.3)': dependencies: '@readme/openapi-parser': 2.6.0(openapi-types@12.1.3) - '@typespec/compiler': 0.58.0 - '@typespec/http': 0.58.0(@typespec/compiler@0.58.0) - '@typespec/openapi': 0.58.0(@typespec/compiler@0.58.0)(@typespec/http@0.58.0(@typespec/compiler@0.58.0)) - '@typespec/versioning': 0.58.0(@typespec/compiler@0.58.0) + '@typespec/compiler': 0.58.1 + '@typespec/http': 0.58.0(@typespec/compiler@0.58.1) + '@typespec/openapi': 0.58.0(@typespec/compiler@0.58.1)(@typespec/http@0.58.0(@typespec/compiler@0.58.1)) + '@typespec/versioning': 0.58.0(@typespec/compiler@0.58.1) yaml: 2.4.5 transitivePeerDependencies: - openapi-types - '@typespec/openapi@0.58.0(@typespec/compiler@0.58.0)(@typespec/http@0.58.0(@typespec/compiler@0.58.0))': + '@typespec/openapi@0.58.0(@typespec/compiler@0.58.1)(@typespec/http@0.58.0(@typespec/compiler@0.58.1))': dependencies: - '@typespec/compiler': 0.58.0 - '@typespec/http': 0.58.0(@typespec/compiler@0.58.0) + '@typespec/compiler': 0.58.1 + '@typespec/http': 0.58.0(@typespec/compiler@0.58.1) '@typespec/prettier-plugin-typespec@0.58.0': dependencies: @@ -4574,10 +4648,19 @@ snapshots: '@typespec/compiler': 0.58.0 '@typespec/http': 0.58.0(@typespec/compiler@0.58.0) + '@typespec/rest@0.58.0(@typespec/compiler@0.58.1)(@typespec/http@0.58.0(@typespec/compiler@0.58.1))': + dependencies: + '@typespec/compiler': 0.58.1 + '@typespec/http': 0.58.0(@typespec/compiler@0.58.1) + '@typespec/versioning@0.58.0(@typespec/compiler@0.58.0)': dependencies: '@typespec/compiler': 0.58.0 + '@typespec/versioning@0.58.0(@typespec/compiler@0.58.1)': + dependencies: + '@typespec/compiler': 0.58.1 + '@ungap/structured-clone@1.2.0': {} abbrev@2.0.0: {} @@ -5345,7 +5428,7 @@ snapshots: eslint-plugin-unicorn@51.0.1(eslint@8.57.0): dependencies: - '@babel/helper-validator-identifier': 7.22.20 + '@babel/helper-validator-identifier': 7.24.7 '@eslint-community/eslint-utils': 4.4.0(eslint@8.57.0) '@eslint/eslintrc': 2.1.4 ci-info: 4.0.0 @@ -5365,12 +5448,12 @@ snapshots: transitivePeerDependencies: - supports-color - eslint-plugin-vitest@0.4.1(@typescript-eslint/eslint-plugin@7.13.0(@typescript-eslint/parser@7.13.0(eslint@8.57.0)(typescript@5.1.3))(eslint@8.57.0)(typescript@5.4.5))(eslint@8.57.0)(typescript@5.4.5): + eslint-plugin-vitest@0.4.1(@typescript-eslint/eslint-plugin@7.13.0(@typescript-eslint/parser@7.13.0(eslint@8.57.0)(typescript@5.4.5))(eslint@8.57.0)(typescript@5.4.5))(eslint@8.57.0)(typescript@5.4.5): dependencies: '@typescript-eslint/utils': 7.13.0(eslint@8.57.0)(typescript@5.4.5) eslint: 8.57.0 optionalDependencies: - '@typescript-eslint/eslint-plugin': 7.13.0(@typescript-eslint/parser@7.13.0(eslint@8.57.0)(typescript@5.1.3))(eslint@8.57.0)(typescript@5.4.5) + '@typescript-eslint/eslint-plugin': 7.13.0(@typescript-eslint/parser@7.13.0(eslint@8.57.0)(typescript@5.4.5))(eslint@8.57.0)(typescript@5.4.5) transitivePeerDependencies: - supports-color - typescript