opened
lmazuel
username_0
``
C:\Users\username_0\AppData\Roaming\npm\autorest.CMD C:\Users\username_0\Git\azure-rest-api-specs\specification\reservations\resource-manager\readme.md --blabla=@autorest/python@5.0.0-dev.20200326.1 --keep-version-file --multiapi --no-async --python --python-mode=update --python-sdks-folder=C:\Users\username_0\Git\azure-sdk-for-python\TEST --use=C:/Users/username_0/Git/autorest.python.v3/autorest-python-5.0.0-preview.1.tgz --version=3.0.6265
AutoRest code generation utility [cli version: 3.0.6187; node: v10.15.3, max-memory: 8192 gb]
(C) 2018 Microsoft Corporation.
https://aka.ms/autorest
   Loading AutoRest core      'C:\Users\username_0\.autorest\@autorest_core@3.0.6265\node_modules\@autorest\core\dist' (3.0.6265)
   Loading AutoRest extension '@autorest/python' (C:/Users/username_0/Git/autorest.python.v3/autorest-python-5.0.0-preview.1.tgz->5.0.0-preview.1)
   Loading AutoRest extension '@autorest/modelerfour' (4.12.301->4.12.301)WARNING: [autorest.codegen.models.lro_operation.set_lro_response_type:61] Multiple schema types in responses: [<SchemaResponse [200]>, <SchemaResponse [201]>]
WARNING: [autorest.codegen.models.lro_operation.set_lro_response_type:61] Multiple schema types in responses: [<SchemaResponse [200]>, <SchemaResponse [201]>]
[7.7 s] Generation Complete
``

We should check if it's a Swagger issue, or a m4 / Python issue.
Investigate LRO multiple schema
issue
created
iscai-msft
username_1
Not an autorest python issue. The swagger is specifying two responses with different schemas: https://github.com/Azure/azure-rest-api-specs/blob/master/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-07-19/quota.json#L133
comment
closed
iscai-msft
username_1
issue