microsoft / microsoft/typespec

[http-client-java] mgmt premium, fix sample entry point and serviceClient reference for autorest

Open
#10,617 1 comment 0 reactions 1 assignee Claimed by @XiaofeiCao View on GitHub
emitter:client:java
Dominant language
Java
Stars
5.9k
Forks
394
Avg merge
1d 23h
Merged PRs (30d)
104

Description

When generating premium mgmt samples from Swagger, we switched to use individual entry points in https://github.com/microsoft/typespec/pull/9845. However, for multi-service scenario(appservice, resources, etc)
1. entry point now be the aggregated Manager, instead of the individual packages, e.g. There's no `PolicyManager`, but rather `ResourceManager`.
2. service client got separate too, instead of residing inside of the entry Manager. e.g. There's no `ResourceManager.serviceClient().getPolicyDefinitions()`, but rather `ResourceManager.policyClient().getPolicyDefinitions()`.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.