microsoftgraph / microsoftgraph/msgraph-metadata
Missing key UserExtend for Enum AccessPackageRequestType
@irvinesunday is already working on this.
Since Aug 12, 2024.
- Dominant language
- XSLT
- Stars
- 166
- Forks
- 55
- Avg merge
- 16h 12m
- Merged PRs (30d)
- 14
Description
Fixes https://github.com/microsoftgraph/msgraph-sdk-python/issues/838
Raised in python, the missing key UserExtend for Enum AccessPackageRequestType affects all SDKs.
While generation is fine , it maps the enum definition in the OpenAPI file:
microsoft.graph.accessPackageRequestType:
title: accessPackageRequestType
enum:
- notSpecified
- userAdd
- userUpdate
- userRemove
- adminAdd
- adminUpdate
- adminRemove
- systemAdd
- systemUpdate
- systemRemove
- onBehalfAdd
- unknownFutureValue
type: string
To the generated Python Enum Model as:
from enum import Enum
class AccessPackageRequestType(str, Enum):
NotSpecified = "notSpecified",
UserAdd = "userAdd",
UserUpdate = "userUpdate",
UserRemove = "userRemove",
AdminAdd = "adminAdd",
AdminUpdate = "adminUpdate",
AdminRemove = "adminRemove",
SystemAdd = "systemAdd",
SystemUpdate = "systemUpdate",
SystemRemove = "systemRemove",
OnBehalfAdd = "onBehalfAdd",
UnknownFutureValue = "unknownFutureValue",
More Details
The openapi.yaml shows that UserExtend exists in the description, but it does not exist in the definition as shown above.
Workload owner or metadata update required
Checking the description, seems the key has not been added by the workload owner as well:
Solution
Adding this will automatically solve this for all SDKs.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.