Open lmazuel opened 2 years ago
I think making this an error is going to cause many problems specially as it seems like a lot of those specs are using the enum to respecify the same api-version as the spec version which seems like a valid usage to me.
Could you clarify autorest behavior? It probably ignores the enum right?
It does yeah unless, the parameter is marked with x-ms-api-version: false
in which case it is treated as a regular param.
Fail and suggest people to use x-ms-client-default instead