-
Notifications
You must be signed in to change notification settings - Fork 323
http-client-java, support advanced-versioning on @added optional parameter in TypeSpec, in non-DPG
#9087
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
http-client-java, support advanced-versioning on @added optional parameter in TypeSpec, in non-DPG
#9087
Changes from 34 commits
7c81a00
941939b
c598d4e
e49c321
225dd59
a668d88
ea588f3
8d2f7ab
ff2e84e
bb96c02
032f3a9
99ae880
f01061b
d6652f0
0aa271a
5e17044
a61c34a
ce526d0
0fa3f33
b4fa958
d8f7ed4
ffb4c88
a451335
64218ae
d99c9cd
2b3b222
9653e35
7648f09
4991205
2fe0045
00fcc47
0686df8
1f57aed
218b6ba
ccf67b6
7c93f90
bf9d6ea
e730949
f4f4461
7e90d5c
dd89acb
66dcfba
55551cf
f420686
07fb92f
8e13f79
3f11d0d
6a8d204
2fba784
90c1119
ef26163
a041c47
02dd013
18abe5b
fbba5d9
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -23,8 +23,6 @@ public enum ClientMethodType { | |
| * Mono<PagedResponseBase<H,T>>. | ||
| */ | ||
| PagingAsyncSinglePage(2, true, false, false), | ||
| SimulatedPagingSync(3, false, false, true), // unused | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. double confirm: is this just code clean up unrelated to advanced versioning? |
||
| SimulatedPagingAsync(4, false, false, false), // unused | ||
| /** | ||
| * represents long-running method that returns T where T is the final result of the LRO. | ||
| */ | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -107,6 +107,9 @@ $generateScript = { | |
| $tspOptions += " --option ""@typespec/http-client-java.generate-tests=false""" | ||
| # add customization code | ||
| $tspOptions += " --option ""@typespec/http-client-java.customization-class=../../customization/src/main/java/KeyVaultCustomization.java""" | ||
| } elseif ($tspFile -match "tsp[\\/]arm-versioned.tsp") { | ||
| # enable advanced versioning for resiliency test | ||
| $tspOptions += " --option ""@typespec/http-client-java.advanced-versioning=true""" | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Just for understanding purpose: is |
||
| } elseif ($tspFile -match "tsp[\\/]subclient.tsp") { | ||
| $tspOptions += " --option ""@typespec/http-client-java.enable-subclient=true""" | ||
| # test for include-api-view-properties | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
might be worth to add some javadoc about this method.