Azure / Azure/autorest.powershell

Allow configuration to remove non-expanded parameter sets

Open
#354 4 comments 0 reactions 0 assignees View on GitHub
feature-request P2
Dominant language
C#
Stars
123
Forks
99
PR merge metrics
No merged PRs in 30d

Description

For `POST` operations in ARM APIs, when there is no body parameter, the generated parameter sets work very well.

When there is a body parameter, there is no value in providing the body parameter except as expanded parameters - for instance, there i no piping into this body parameter that would make sense in this case.

Configuration allows removing the non-expanded parameter sets when they exist, however there is no easy way to supply a directive that removes non-expanded parameter sets **where expanded parameter sets exist**. And this will be *very* common in `POST` scenarios.

So, we should at least have a directive that allows removing non-expanded parameter sets (and does nothign if no expanded parameter sets exist).

We should consider removing these parameter sets by default for all POST operations in Azure.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.