autorest
autorest copied to clipboard
positionInOperation in x-ms-parameterized-host does not support
Before filling a bug
- [ ] have you checked the faq for known issues.
- [ ] have you checked existing issues
Describe the bug
I have an x-ms-parameterized-host extension with positionInOperation last.
There is an operation with a required parameter.
Then generate the corresponding API. The accountName is positted before the parameter boolPath.
Expected behavior The parameter accountName put after parameter boolPath.
Additional context
Sharing the offline notes on this:
- This parameter has never been supported in autorest V3 so it wouldn't be a bug fix.
- Generators do their own parameter reodering depending on optionality, client vs method level params so this would just bring some more confusion.
- Not sure why you would even want that.
I don't want this currently. Just trying this and found it does not work.