Skip to content

[typespec-validation] Error should be reported while missing 'Management' suffix in the folder name of management plane typespec #29654

@raych1

Description

@raych1

Context
Per the typespec folder structure requirement, it says "Management at the end of the service RP-name indicates a management (resource manager) library".
The folder should be like the following example:
image

Additionally, SDK automation tool depends on the 'Management' suffix in the folder name to differentiate the management plane typespec and data plane typespec to call the proper code generator (MPG or DPG) to generate the SDK.

I found typespec-validation tool has the following code to check folder name for management plane typespec case. Request to extend it to gate on the suffix.

if (packageFolder.includes("Management") && packageFolder.includes("Shared")) {

CC: @mikeharder @weshaggard @weidongxu-microsoft

Metadata

Metadata

Assignees

Labels

Central-EngSysThis issue is owned by the Engineering System team.Spec PR ToolsTooling that runs in azure-rest-api-specs repo.

Type

No type

Projects

Status

🎊 Closed

Status

🎊 Closed

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions