Azure / Azure/azure-sdk-tools

Validation is saying a required property (parameter) is missing even though its there

Open
#4,420 7 comments 0 reactions 2 assignees Claimed by @scbedd View on GitHub
Central-EngSys Spec PR Tools
Dominant language
C#
Stars
135
Forks
260
Avg merge
3d 1h
Merged PRs (30d)
143

Description

I'm getting an `OBJECT_MISSING_REQUIRED_PROPERTY` error on a sample for "api-version" despite the fact it's there in the [sample](https://github.com/Azure/azure-rest-api-specs/blob/db344f8a6cbbf157414e2f3c335be8b5c3ceb18d/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.4-preview.1/examples/DeleteRoleDefinition-example.json#L6:20) and spelled correctly.

Based on https://github.com/Azure/azure-rest-api-specs/pull/21123#issuecomment-1279184922, I tried changing the order (as you can see from the permalink above) but still got the error.

This becomes a blocker with no clear resolution.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.