Skip to content

Commit

Permalink
doc, java, how-to doc about client in sub package (DPG) (#1285)
Browse files Browse the repository at this point in the history
typespec-java supports this in 0.18.4
  • Loading branch information
weidongxu-microsoft authored Aug 7, 2024
1 parent 562a197 commit 35b7306
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion docs/howtos/DataPlane Generation - DPG/02client.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -583,7 +583,16 @@ NOT_SUPPORTED;
<TabItem value="java" label="Java" >

```java
NOT_SUPPORTED
import com.petstorenamespace.FoodClient;
import com.petstorenamespace.FoodClientBuilder;
import com.petstorenamespace.subnamespace.PetActionClient;
import com.petstorenamespace.subnamespace.PetActionClientBuilder;

FoodClient foodClient = new FoodClientBuilder().buildClient();
PetActionClient petActionClient = new PetActionClientBuilder().buildClient();

foodClient.feed();
petActionClient.pet();
```

</TabItem>
Expand Down

0 comments on commit 35b7306

Please sign in to comment.