conflicting-multipart-model-usage rule is to avoid a model both be used in multipart an other content-type.
But When we define an operation with multiple content-type, the linter ruler does not work.
e.g. we defined a multiple content-type operation as following, TCGC does not report conflicting-multipart-model-usage error.
If the rule is to make sure a model cannot both used in multipart/form-data and other format, this multiple content-type scenario should not allow also.
op optionalDateTime(@header contentType: "multipart/form-data"|"application/json", @body body: TestModel): void;
conflicting-multipart-model-usage
rule is to avoid a model both be used in multipart an other content-type.But When we define an operation with multiple content-type, the linter ruler does not work. e.g. we defined a multiple content-type operation as following, TCGC does not report
conflicting-multipart-model-usage
error.If the rule is to make sure a model cannot both used in multipart/form-data and other format, this multiple content-type scenario should not allow also.