Skip to content

Conversation

@kazrael2119
Copy link
Member

No description provided.

@github-actions github-actions bot added Mgmt This issue is related to a management-plane library. test-utils Label for the issues related to the @azure/test-utils package labels Jun 19, 2024
@kazrael2119
Copy link
Member Author

extra config before generate code:
add

@@clientName(Microsoft.DocumentDB,
  "MongoClusterManagementClient",
  "javascript"
);

in client .tsp

add

"@azure-tools/typespec-ts":
    azureSdkForJs: true
    isModularLibrary: true
    generateMetadata: true
    hierarchyClient: false
    experimentalExtensibleEnums: true
    package-name: "@azure/arm-mongocluster"
    flavor: "azure"
    packageDetails:
      name: "@azure/arm-mongocluster"
      description: "DocumentDB MongoCluster Service"

in tspconfig.yaml

@qiaozha
Copy link
Member

qiaozha commented Jul 5, 2024

/azp run js - mongocluster - mgmt - ci

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@kazrael2119 kazrael2119 marked this pull request as ready for review July 5, 2024 02:54
@qiaozha qiaozha merged commit a9397f7 into Azure:main Jul 5, 2024
@kazrael2119 kazrael2119 deleted the mongocluster-with-modular branch July 5, 2024 07:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Mgmt This issue is related to a management-plane library. test-utils Label for the issues related to the @azure/test-utils package

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants