Skip to content
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

tsp, tcgc, adopt sdkpackage #2861

Merged
merged 110 commits into from
Aug 22, 2024
Merged
Show file tree
Hide file tree
Changes from 85 commits
Commits
Show all changes
110 commits
Select commit Hold shift + click to select a range
116db41
replace logics for process parameter
haolingdong-msft Jun 3, 2024
3d56d8a
bug fix
haolingdong-msft Jun 4, 2024
3863d59
add logics for process clients and operation
haolingdong-msft Jun 20, 2024
d010820
Merge remote-tracking branch 'remote/main' into sdkpackage
haolingdong-msft Jun 20, 2024
8d21b60
replace logic to process response
haolingdong-msft Jun 27, 2024
07a773f
regen
haolingdong-msft Jun 27, 2024
b443345
process exception
haolingdong-msft Jun 27, 2024
2434e67
rename local var
haolingdong-msft Jun 28, 2024
7a53e1c
add samples
haolingdong-msft Jun 28, 2024
339352c
add loading examples logic
haolingdong-msft Jun 28, 2024
36a71a1
Merge remote-tracking branch 'remote/main' into sdkpackage
haolingdong-msft Jun 28, 2024
ddbca42
Revert "regen"
haolingdong-msft Jul 1, 2024
ca85d01
solve conflict
haolingdong-msft Jul 1, 2024
de594bc
replace logics for operationIs helpers
haolingdong-msft Jul 2, 2024
b7c09c0
fixed flatten case's example
haolingdong-msft Jul 2, 2024
30129fd
Merge branch 'main' into sdkpackage
haolingdong-msft Jul 4, 2024
a45fb21
Merge remote-tracking branch 'remote/main' into sdkpackage
haolingdong-msft Jul 9, 2024
f78adfa
convert more functions from using raw to tcgc types
haolingdong-msft Jul 10, 2024
80b9d92
update test
haolingdong-msft Jul 10, 2024
402cd7a
Merge remote-tracking branch 'remote/main' into sdkpackage
haolingdong-msft Jul 10, 2024
9f35c40
update logic to judge if bodyParameterFlatten
haolingdong-msft Jul 10, 2024
b63017a
Merge remote-tracking branch 'remote/main' into sdkpackage
haolingdong-msft Jul 11, 2024
5e60576
update logics on spread param
haolingdong-msft Jul 15, 2024
7a5479d
regen
haolingdong-msft Jul 15, 2024
c063eee
Merge remote-tracking branch 'remote/main' into sdkpackage
haolingdong-msft Jul 17, 2024
5d58dd5
regen
haolingdong-msft Jul 17, 2024
6aade5f
Merge remote-tracking branch 'remote/main' into sdkpackage
haolingdong-msft Jul 18, 2024
e2fd61b
use sdkResponse.description and do not use initializationProperty.typ…
haolingdong-msft Jul 18, 2024
ed1c710
regen
haolingdong-msft Jul 18, 2024
ad083e7
Merge remote-tracking branch 'remote/main' into sdkpackage
haolingdong-msft Jul 19, 2024
fab8343
handle hierarchical client name
haolingdong-msft Jul 23, 2024
0af2c5c
regen
haolingdong-msft Jul 23, 2024
3214809
Merge remote-tracking branch 'remote/main' into sdkpackage
haolingdong-msft Jul 29, 2024
cead43e
update api version filtering part
haolingdong-msft Jul 29, 2024
ab74bad
merge summary with description
haolingdong-msft Jul 30, 2024
9e5146e
skip content-type header if body is optional
haolingdong-msft Jul 30, 2024
032a315
regen
haolingdong-msft Jul 30, 2024
180bf07
regen
haolingdong-msft Jul 30, 2024
bb7dea4
handle multipart array case
haolingdong-msft Jul 30, 2024
3ad752d
Merge remote-tracking branch 'remote/main' into sdkpackage
haolingdong-msft Jul 31, 2024
8220bad
add endpoint parameter for ARM as workaround
haolingdong-msft Jul 31, 2024
e3afeb1
regen
haolingdong-msft Jul 31, 2024
a990b5b
regen
haolingdong-msft Jul 31, 2024
e2fa9e7
Merge remote-tracking branch 'remote/main' into sdkpackage
haolingdong-msft Jul 31, 2024
cde9051
Fixed the api-version being added to builder issue
haolingdong-msft Jul 31, 2024
611e3d8
solve conflict
haolingdong-msft Aug 1, 2024
cd8336f
regen
haolingdong-msft Aug 6, 2024
74df2b5
Merge remote-tracking branch 'remote/main' into sdkpackage
haolingdong-msft Aug 6, 2024
cc652d4
regen
haolingdong-msft Aug 7, 2024
b38a2fd
integrate with sdkpackage's example
haolingdong-msft Aug 7, 2024
1c5a1b5
clean up code
haolingdong-msft Aug 7, 2024
98b3f6c
Merge remote-tracking branch 'remote/main' into sdkpackage
haolingdong-msft Aug 7, 2024
3a2955d
regen
haolingdong-msft Aug 7, 2024
183f5ea
code clean up
haolingdong-msft Aug 7, 2024
9869b7f
Merge branch 'main' into sdkpackage
haolingdong-msft Aug 9, 2024
15d41b7
support new SdkClientType design
haolingdong-msft Aug 9, 2024
955620e
regen
haolingdong-msft Aug 9, 2024
372da09
throw error if endpoint parameter is neither union nor endpoint
haolingdong-msft Aug 9, 2024
865ac76
lint
haolingdong-msft Aug 9, 2024
62e0b0d
remove unused functions and move removeClientSuffix to util
haolingdong-msft Aug 9, 2024
832e593
support client crossLanguageDefinitionId
haolingdong-msft Aug 9, 2024
cf23080
remove unused functions
haolingdong-msft Aug 9, 2024
2cea2b3
remove unused imports
haolingdong-msft Aug 9, 2024
71e0a2d
update according to comments
haolingdong-msft Aug 12, 2024
3f4c417
lint
haolingdong-msft Aug 12, 2024
86802af
Merge remote-tracking branch 'remote/main' into sdkpackage
haolingdong-msft Aug 12, 2024
daef68d
lint
haolingdong-msft Aug 12, 2024
643105b
regen
haolingdong-msft Aug 12, 2024
fc35d0f
add TODO for allowReserved for path url
haolingdong-msft Aug 12, 2024
52271aa
update according to comments
haolingdong-msft Aug 12, 2024
98a141c
regen
haolingdong-msft Aug 12, 2024
1e05ccd
support client default endpoint
haolingdong-msft Aug 12, 2024
2f04d1f
fix test
haolingdong-msft Aug 12, 2024
2cde5b3
regen
haolingdong-msft Aug 13, 2024
f47bf77
remove suffix
haolingdong-msft Aug 13, 2024
ad910d8
format
haolingdong-msft Aug 13, 2024
59fec20
Merge remote-tracking branch 'remote/main' into sdkpackage
haolingdong-msft Aug 13, 2024
593aa59
remove unused functions
haolingdong-msft Aug 13, 2024
b18b952
regen
haolingdong-msft Aug 13, 2024
c007e82
fix
haolingdong-msft Aug 13, 2024
f5626c1
update function name according to comments
haolingdong-msft Aug 13, 2024
dabfd8f
add param location check
haolingdong-msft Aug 14, 2024
e5b66c8
update according to comments
haolingdong-msft Aug 14, 2024
42f4eae
handle param.onClient
haolingdong-msft Aug 14, 2024
8352f12
update method to use shorter name
haolingdong-msft Aug 14, 2024
93a23ba
Merge remote-tracking branch 'remote/main' into sdkpackage
haolingdong-msft Aug 16, 2024
733f220
apply the bug fix
haolingdong-msft Aug 16, 2024
a0d6c98
regen
haolingdong-msft Aug 19, 2024
7af447b
integrate with bug fix on flattened model property and parameter has …
haolingdong-msft Aug 19, 2024
48ab63d
add op.addParameter(parameter); for param.onclient as well
haolingdong-msft Aug 19, 2024
5c71c0b
format and lint
haolingdong-msft Aug 19, 2024
e8a8d3b
fix NotVersionedTests
haolingdong-msft Aug 19, 2024
fe18154
revet the changes on onClient and support
haolingdong-msft Aug 19, 2024
a423afa
support allowReserved for path
haolingdong-msft Aug 19, 2024
fa1d2a7
regen
haolingdong-msft Aug 19, 2024
e9ec415
update according to comment: paging, content-type
haolingdong-msft Aug 19, 2024
e5adc5d
remove unused logics in processing lro
haolingdong-msft Aug 19, 2024
6c1cdc4
lint
haolingdong-msft Aug 19, 2024
b7ff02c
add test case to test HttpStatusCodeRange
haolingdong-msft Aug 19, 2024
0026417
Merge remote-tracking branch 'remote/main' into sdkpackage
haolingdong-msft Aug 19, 2024
33a3cef
format typespec-tests
haolingdong-msft Aug 19, 2024
3954d93
address comments
haolingdong-msft Aug 21, 2024
f3fb702
bump minor version
haolingdong-msft Aug 21, 2024
3563e1e
format and lint
haolingdong-msft Aug 21, 2024
ac2bb97
Merge remote-tracking branch 'remote/main' into sdkpackage
haolingdong-msft Aug 21, 2024
eda4e54
use TCGC sdkBody.contentTypes to set to mediaTypes
haolingdong-msft Aug 21, 2024
c3328ba
address comments
haolingdong-msft Aug 22, 2024
5cb0da5
changelog
haolingdong-msft Aug 22, 2024
43c2a7a
format and lint
haolingdong-msft Aug 22, 2024
2df13e4
changelog
haolingdong-msft Aug 22, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Original file line number Diff line number Diff line change
Expand Up @@ -1594,7 +1594,7 @@ protected static String returnTypeDescription(Operation operation, IType returnT
String description = null;
// try the description of the operation
if (operation.getLanguage() != null && operation.getLanguage().getDefault() != null) {
String operationDescription = operation.getLanguage().getDefault().getDescription();
String operationDescription = SchemaUtil.mergeSummaryWithDescription(operation.getSummary(), operation.getLanguage().getDefault().getDescription());
if (!CoreUtils.isNullOrEmpty(operationDescription)) {
if (operationDescription.toLowerCase().startsWith("get ") || operationDescription.toLowerCase().startsWith("gets ")) {
int startIndex = operationDescription.indexOf(" ") + 1;
Expand Down
Loading