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:

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