microsoftgraph / microsoftgraph/msgraph-metadata

Add `Computed` annotation to read-only properties

Open
#128 3 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

priority:p1
Dominant language
XSLT
Stars
166
Forks
55
Avg merge
16h 12m
Merged PRs (30d)
14

Description

Workload owners should consider adding computed annotation to read-only properties.

As part of this task, we should ensure that:

  • OpenAPI.NET.OData will convert Computed into readonly.
  • AutoREST.PowerShell will not generate parameters for the readonly properties.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked Org.OData.Core.V1.xml definition of Computed and trace how this repository captures and transforms metadata. Verify whether the checked OpenAPI.NET.OData and AutoREST.PowerShell outcomes are reflected in the current generated metadata; done means read-only properties carry Computed and are omitted from generated parameters.

Written by the indexing model from the issue text.

Assessment

Tech stack
powershell, xml
Domain
api, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.