We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Optional body will be put in optional params in HLC but in Modular it would be top-level parameter in method with optional.
see hlc swagger: https://github.com/Azure/autorest.typescript/blob/main/packages/autorest.typescript/test/integration/swaggers/appconfiguration.json#L457-L462 hlc generated code: https://github.com/Azure/autorest.typescript/blob/main/packages/autorest.typescript/test/integration/generated/appconfiguration/src/models/index.ts#L512-L513
modular generated code: https://github.com/Azure/autorest.typescript/blob/main/packages/typespec-ts/test/modularIntegration/generated/parameters/body-optionality/src/index.d.ts#L25-L26
The text was updated successfully, but these errors were encountered:
Offline confirmed with Qiaoqiao, we think this is an un-necessary breaking and we should avoid it. I plan to fix in pr.
Sorry, something went wrong.
MaryGao
Successfully merging a pull request may close this issue.
Optional body will be put in optional params in HLC but in Modular it would be top-level parameter in method with optional.
see hlc swagger: https://github.com/Azure/autorest.typescript/blob/main/packages/autorest.typescript/test/integration/swaggers/appconfiguration.json#L457-L462
hlc generated code: https://github.com/Azure/autorest.typescript/blob/main/packages/autorest.typescript/test/integration/generated/appconfiguration/src/models/index.ts#L512-L513
modular generated code:
https://github.com/Azure/autorest.typescript/blob/main/packages/typespec-ts/test/modularIntegration/generated/parameters/body-optionality/src/index.d.ts#L25-L26
The text was updated successfully, but these errors were encountered: