Граф коммитов

1451 Коммитов

Автор SHA1 Сообщение Дата
Xiaogang 9cfe593432
sdk - Add support for long (#1096) 2023-01-18 22:17:17 +08:00
Xiaogang 3527a7c86f
sdk - Resolved two issues (#1095) 2023-01-18 18:15:06 +08:00
Xiaogang 3ae84533e0
sdk - remove const parmater/property from comments (#1093) 2023-01-18 13:39:49 +08:00
Xiaogang 0d78a02b55
sdk - Fixed two minor issues (#1092) 2023-01-17 22:47:16 +08:00
Xiaogang 82d2f3278d
sdk - Fixed a few issues related to reserved C# key words, class name, etc. (#1091) 2023-01-17 21:14:13 +08:00
Xiaogang 1da55cc9f8
sdk - Fixed an enum related issue in array and dict (#1090) 2023-01-17 18:44:13 +08:00
Xiaogang 4730e889ba
sdk - Fixed a few issues related to validation and naming (#1089) 2023-01-16 14:50:50 +08:00
Xiaogang 6e04cbbfaf
sdk - Fixed a few issues (#1088) 2023-01-15 13:37:17 +08:00
Xiaogang 1792a418a6
sdk - Fixed the test case basic-polymorphism (#1087) 2023-01-13 17:46:02 +08:00
Beisi Zhou a4a61723ad
[Provider-aks] Fixed issue in model constructor parameters declaration (#1086)
* fix comment issues

* Fix issue about an extra ? in model constructor
2023-01-13 17:12:01 +08:00
Beisi Zhou f96d7ea497
Update csharp-code-adjustment.md 2023-01-13 16:50:43 +08:00
Yabo Hu 62db6960c3
fix cloudexception type (#1085) 2023-01-13 14:47:41 +08:00
Yabo Hu 183e3b2ca4
correct header response schema (#1084) 2023-01-12 15:04:59 +08:00
Yabo Hu 23e41d497a
x-ms-external and x-ms-request-id (#1082)
* handle x-ms-external

* x-ms-request-id
2023-01-11 16:51:35 +08:00
Xiaogang fa7b90bdf4
sdk - Remove api-version validation for aks and storage (#1083)
* sdk - regenerate track 1 sdk with autorest.csharp for aks and storage

* sdk - Remove api-version validation for aks and storage
2023-01-11 16:44:25 +08:00
Xiaogang 84d23014b0
sdk - Fixed test case component-param-additional and a naming related issue (#1081) 2023-01-11 14:37:07 +08:00
Yabo Hu 9fe2ed1d8f
polish value type of dictionary (#1078)
* polish value type of dictionary

* update

* fix

* Fixed a minor issue related to any type

Co-authored-by: Xiaogang <xidi@microsoft.com>
2023-01-11 10:37:07 +08:00
Xiaogang 6e0499c235
sdk - Fixed some minor issues and make some adjustments for csharp code generated by autorest.csharp (#1080) 2023-01-10 17:06:42 +08:00
Beisi Zhou b9bea4e97f
[x-ms-pageable] Special handle when nextLinkName is null (#1079)
* special handle when nextLinkName is null

* fix c# parameter comments issue in client template

* remove query parameters from pageable method
2023-01-10 09:08:11 +08:00
Xiaogang f16237e8af
sdk - Fixed some minor issues (#1077) 2023-01-06 17:17:12 +08:00
Xiaogang 62fa0f679e
sdk - Add support for x-ms-odata (#1075) 2023-01-05 19:23:41 +08:00
Xiaogang 82c56fc90b
sdk - Add support for header response (#1074) 2023-01-04 18:34:38 +08:00
Yabo Hu 3ce98b300a
additional properties support (#1064)
* support additional properties

* typo

* fix proeprty name

* add import

* resolve resolve conflict
2023-01-04 16:23:54 +08:00
Yabo Hu 705d0e9c28
lro method argument fix (#1065)
* fix lro arguments

* handle args with customer headers
2023-01-03 16:34:43 +08:00
Xiaogang ab0bfe4e2f
sdk - Add support for const in model (#1073) 2023-01-03 09:15:28 +08:00
Xiaogang 1a7a107e26
sdk - Need to treat required parameter with enum with one value as constant (#1072) 2022-12-29 19:42:24 +08:00
Xiaogang 774fa5822f
sdk - only validate whether body is null when it is required (#1071) 2022-12-29 09:54:35 +08:00
Xiaogang 0f48a17d86
sdk - Add support for x-ms-parameter-grouping (#1070) 2022-12-28 15:58:43 +08:00
Beisi Zhou 945bd74075
[SDK]Supported x-ms-pageable (#1067)
* wip

* fix

* fix

* move files

* fix

* filter itemName

* move extension-ms-pageable to white list
2022-12-28 14:30:23 +08:00
Xiaogang dce8698be8
sdk - Fixed an issue related to reserved words (#1066) 2022-12-26 14:59:08 +08:00
Xiaogang ebebf62a6a
sdk - Add the list for failed test cases (#1063) 2022-12-19 13:58:07 +08:00
Xiaogang dc0466c749
sdk - Fixed several issues related to choice/sealedchoice (#1062) 2022-12-16 16:03:14 +08:00
Xiaogang 9d3e37233a
sdk - Fixed several issues (#1061) 2022-12-15 23:03:00 +08:00
Xiaogang 32d86fbf9b
sdk - Fixed a few minor issues (#1060) 2022-12-14 17:48:17 +08:00
Xiaogang 23eeda3616
sdk - Fixed an issue for enum with modelastring false (#1059) 2022-12-14 16:54:49 +08:00
Xiaogang 12bf2aa08f
sdk - add supprt for x-ms-enum with modelAsString false (#1057) 2022-12-13 11:12:54 +08:00
Xiaogang 89cf8e228d
sdk - add support for execption and add directive to workaround x-ms-enum dropped issue (#1056) 2022-12-09 21:18:58 +08:00
Yabo Hu 3ccde0cd19
lro support (#1054)
* support long running operation

* minor fix
2022-12-09 10:37:07 +08:00
Xiaogang b8f21025fc
sdk - Fixed some failed cases (#1053) 2022-12-08 10:38:03 +08:00
Xiaogang a0fef3ef19
sdk - Fixed an issue in component-param-inbody (#1052) 2022-12-06 11:24:42 +08:00
Yabo Hu 0611ef28d1
fix edge cases for simplifier (#1046)
* handle special cases in csharp sdk simplifier

* find parent namespaces for namespaces in using

* do not trim namespace when 'Headers' found

* Update serviceClientBody.ejs
2022-12-05 17:19:26 +08:00
Xiaogang 12ba731104
Update test-sdk.yml (#1051)
* Update test-sdk.yml

* Fixed the targetPath
2022-12-05 17:15:07 +08:00
Xiaogang e6368ae8d6
sdk - update pipeline pool (#1050) 2022-12-02 16:18:07 +08:00
Xiaogang c564ef1e05
sdk - Add test pipeline for sdk (#1049) 2022-12-02 15:37:28 +08:00
Xiaogang caa4e9d9ff
sdk - disable simplifier for the time being (#1048) 2022-12-02 15:08:35 +08:00
Xiaogang 3cc21abe7b
Test Framework for SDK generator (#1047)
* Add test case for SDK update (#1022)

* sdk - Add an example for a test case

* [SdkTest]generate csharp sdk.

* [Sdk test] enable sdk test script (#1031)

* developing.

* developing

* modified test script.

* fixed swagger issues. (#1035)

* sdktest - Fixed some swagger issues

* sdktest - remove unnecessary test case. (#1037)

* sdk - add test case model-validate

* sdk - Add support to skip csharp generation and update the white list to remove failed cases

Co-authored-by: Dingmeng Xue <dixue@microsoft.com>
Co-authored-by: Lucas Yao <v-diya@microsoft.com>
Co-authored-by: Lucas Yao <53558334+LucasYao93@users.noreply.github.com>
2022-12-02 15:02:29 +08:00
Xiaogang ac8bbdadf2
sdk - Fixed some failed test cases (#1044) 2022-11-30 15:12:09 +08:00
Xiaogang 52e9dfb7fd
sdk - initial support for polymorphism (#1043) 2022-11-30 12:19:24 +08:00
Xiaogang 753ed43f8b
add validate for model and fixed some issues (#1042)
* sdk - Add validateType

* sdk - add validate for model and fixed some issues
2022-11-29 14:00:13 +08:00
Yabo Hu d791dc423f
handle special cases in csharp sdk simplifier (#1039) 2022-11-28 09:45:17 +08:00