Open Nepomuceno opened 2 years ago
Network specs is by design, it usually copy previous version specs to new version without changing api version.
@ruowan , can you evaluate if we can align the version between spec and path for other RP cases listed above?
We already have validation rule for this case. https://github.com/Azure/avocado#inconsistent_api_version.
For existing issues in spec repo, it's risky to fix them. And it will cause breaking change.
There are some that are as late as 2022-08-01 how long has this validation been active?
@Nepomuceno , what's the impact since this only happens for legacy api versions?
Invalid Specification version
Although the spec files do have a place fot you to put version:
we also do have a version as part of the folder structure of the file.
specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/vmssNetworkInterface.json
This is not only confusing but can cause errors on generation of clients from the files and some validation.
The fix would be to verify and them change or the folder or the specs.
This is the list of specifications that are wrong.