Skip to content

[Feature Request] Standardize operationIds to ensure uniqueness #361

Open
@peombwa

Description

@peombwa

We should consider standardizing the naming convention of operationIds to what we currently have in DevX API (PowerShell style) - https://github.com/microsoftgraph/microsoft-graph-devx-api/blob/dev/OpenAPIService/PowershellFormatter.cs? For example:

  • Remove hash suffix values from operationIds for function all paths.
  • Add '_' to separate verb (action) in an operationId. This typically the last . or second from last . for OData cast paths.
  • PUT operations should have Set as the verb in an operationId {xxx}_Set{yyy}.

In PowerShell, we use operationIds to form command names.

As part of this exercise, we should add validation to ensure operationIds are unique for a given document.

Edit: This is a continuation of #338 (comment).

Metadata

Metadata

Assignees

Labels

priority:p3Nice to have. Customer impact is very minimaltype:enhancementEnhancement request targeting an existing experience.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions