arm-resource-action-no-segment
@azure-tools/typespec-azure-resource-manager/arm-resource-action-no-segmentThe @armResourceAction decorator should not be used together with @segment. If you need to rename the action, use @action(...) instead or omit the segment entirely.
β Incorrect
Section titled ββ Incorrectβ@armResourceAction(MyResource)@segment("doSomething")@postop doAction(...ApiVersionParameter): void;β Correct
Section titled ββ Correctβ@armResourceAction(MyResource)@postop doAction(...ApiVersionParameter): void;β Correct (with custom action name)
Section titled ββ Correct (with custom action name)β@armResourceAction(MyResource)@action("doSomething")@postop doAction(...ApiVersionParameter): void;