Skip to content

[PatchBodyParametersSchema] Property type in common-types ManagedServiceIdentity is required #751

@mikeharder

Description

@mikeharder

Rule PatchBodyParametersSchema generates an error if a spec uses ManagedServiceIdentity in a PATCH request:

PatchBodyParametersSchema
Properties of a PATCH request body must not be required, property:type.
RPC-Patch-V1-10

https://github.com/Azure/azure-rest-api-specs/pull/30004/checks?check_run_id=31737416686

The spec author believes their spec is correct, and suppressed the error.

Azure/azure-rest-api-specs#30004 (comment)

Is this the correct resolution? If so, should either the rule or ManagedServiceIdentity be modified to avoid this error going forward? I think all types under common-types should pass all LintDiff rules, for all intended usages by spec authors.

Related

#708

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions