-
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
Open
weidongxu-microsoft
wants to merge
55
commits into
microsoft:main
Choose a base branch
from
weidongxu-microsoft:http-client-java_versioning-non-dpg
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
http-client-java, support advanced-versioning on @added optional parameter in TypeSpec, in non-DPG
#9087
Changes from all commits
Commits
Show all changes
55 commits
Select commit
Hold shift + click to select a range
7c81a00
fallback to version compare by date
weidongxu-microsoft 941939b
set to undefined, if cannot find version in apiVersions
weidongxu-microsoft c598d4e
nit
weidongxu-microsoft e49c321
fix lint
weidongxu-microsoft 225dd59
test case
weidongxu-microsoft a668d88
nit to cover the case of the erasure of preview api-version
weidongxu-microsoft ea588f3
Merge branch 'main' into http-client-java_versioning-non-dpg
weidongxu-microsoft 8d2f7ab
partial tool
weidongxu-microsoft ff2e84e
simple method uses WithResponse
weidongxu-microsoft bb96c02
enhance
weidongxu-microsoft 032f3a9
Merge branch 'main' into http-client-java_versioning-non-dpg
weidongxu-microsoft 99ae880
improve client method template to recognize parameter that need to be…
weidongxu-microsoft f01061b
format
weidongxu-microsoft d6652f0
regen
weidongxu-microsoft 0aa271a
advanced versioning for arm-versioned test
weidongxu-microsoft 5e17044
regen with advanced-versioning
weidongxu-microsoft a61c34a
test
weidongxu-microsoft ce526d0
Merge branch 'main' into http-client-java_versioning-non-dpg
weidongxu-microsoft 0fa3f33
update addOptionalVariables
weidongxu-microsoft b4fa958
Revert "update addOptionalVariables"
weidongxu-microsoft d8f7ed4
overload for LRO createOrUpdate in mgmt
weidongxu-microsoft ffb4c88
overload for method for lro and pageable
weidongxu-microsoft a451335
regen
weidongxu-microsoft 64218ae
mgmt, update logic for taking the client method of full parameters
weidongxu-microsoft d99c9cd
update npm deps
weidongxu-microsoft 2b3b222
bug fix
weidongxu-microsoft 9653e35
regen
weidongxu-microsoft 7648f09
update test
weidongxu-microsoft 4991205
make a diff
weidongxu-microsoft 2fe0045
Revert "make a diff"
weidongxu-microsoft 00fcc47
Merge branch 'http-client-java_versioning-non-dpg' of https://github.…
weidongxu-microsoft 0686df8
comment
weidongxu-microsoft 1f57aed
delete type that not used
weidongxu-microsoft 218b6ba
we can remove the condition
weidongxu-microsoft ccf67b6
Update packages/http-client-java/generator/http-client-generator-core…
weidongxu-microsoft 7c93f90
format
weidongxu-microsoft bf9d6ea
Merge branch 'main' into http-client-java_versioning-non-dpg
weidongxu-microsoft e730949
add more API to test case
weidongxu-microsoft f4f4461
bug fix for not taking the client method of full parameters
weidongxu-microsoft 7e90d5c
Merge branch 'http-client-java_versioning-non-dpg' of https://github.…
weidongxu-microsoft dd89acb
regen
weidongxu-microsoft 66dcfba
update test
weidongxu-microsoft 55551cf
regen
weidongxu-microsoft f420686
update test
weidongxu-microsoft 07fb92f
fix and test
weidongxu-microsoft 8e13f79
comment
weidongxu-microsoft 3f11d0d
regen
weidongxu-microsoft 6a8d204
demonstrate for case without advanced-versioning
weidongxu-microsoft 2fba784
Revert "demonstrate for case without advanced-versioning"
weidongxu-microsoft 90c1119
rename to make the var easier to understand
weidongxu-microsoft ef26163
add overloadedClientMethod var to ClientMethod
weidongxu-microsoft a041c47
refine the logic
weidongxu-microsoft 02dd013
fix
weidongxu-microsoft 18abe5b
regen
weidongxu-microsoft fbba5d9
comment
weidongxu-microsoft File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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. | ||
| */ | ||
|
|
||
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.