Bruce Johnston
Bruce Johnston
Normally you wouldn't have the value in both places, but it can potentially be in both places because the body of a PUT is modeled with the same type as...
@devigned @stankovski Any further thoughts on this? Other folks who might have opinions? I'm willing to take it on if we can agree on an approach.
I thought of a scenario where it makes sense for `CreateOrUpdate` to take both the "id" parameter and the resource body with the "id" property in it: Renaming resources. Our...
Seems like this would be good practice for me. :) I'll follow up with you offline.
What is the proposed fix? To update the comment or change `Validate` to throw `ArgumentNullException`/`ArgumentException`? The latter would better follow the principle of least surprise.
Duplicate issue: https://github.com/Azure/autorest/issues/289 I propose closing this one since the other one has more context.
Regarding naming, the generated Azure clients are called `IFooBarServiceClient`, not `IFooBarApi`. So maybe `IServiceClient` instead of `IBaseApi`? If the credentials interface inherits from the base (option 1 above), maybe call...
I'm going to take a stab at fixing this myself.