Azure / Azure/azure-openapi-validator
Remove AvoidNestedProperties rule
Open
- Dominant language
- TypeScript
- Stars
- 53
- Forks
- 57
- Avg merge
- 1d 23h
- Merged PRs (30d)
- 2
Description
It has been discussed in archboard on 12/11, that the SDK team wants to stop supporting model flattening in SDK.
It used to be a pattern we suggested in the past, and therefore we have this rule "AvoidNestedProperties" that could complain if x-ms-client-flatten is not used in some scenarios.
This issue is about removing the rule, since this is in contradiction with new guidance to not use it.
Ideally, we get this rule by 1/5/2024, as TypeSpec will released an update to the Swagger generator to stop using x-ms-client-flatten, and with this rule on every TypeSpec issue will trigger the linter.
Contributor guide
Assessment
This issue has not been assessed yet.