Xiaogang
d7b174e1f2
Update the dependencies of autorest.powershell to 4.0.721 for tsp ( #1395 )
2024-11-08 16:54:42 +08:00
Yunchi Wang
e279ce4332
Fix the issue that empty array will be convert to null in PowerShell ( #1398 )
2024-11-08 14:16:19 +08:00
Xiaogang
ff118d14f8
Update test-emitter.yml to save result to files
2024-11-01 15:41:20 +08:00
Xiaogang
ba4d6fe4d7
Initial test framework for emitter ( #1394 )
...
* Initial test framework for emitter
* Remove the modules folder
2024-11-01 15:15:45 +08:00
Xiaogang
d3ec4d1899
Update class.ts to fix a description issue
2024-10-30 14:21:14 +08:00
Xiaogang
df0657b703
Add initial support for polymorphism ( #1393 )
2024-10-22 17:50:32 +08:00
Xiaogang
e2130bd881
SDK - Add support for decimal ( #1392 )
2024-10-18 09:51:00 +08:00
Xiaogang
8ab5a43bc5
upgrade tsp to 0.61 ( #1390 )
2024-10-15 13:47:08 +08:00
Yabo Hu
8499346550
use alternative way to generate assemblyinfo.cs ( #1387 )
...
* use alternative way to generate assemblyinfo.cs
* disable generate assemblyinfo by dotnet
* forgot await
* Update powershell/generators/csproj.ts
* check if assemblyinfopath
---------
Co-authored-by: Yeming Liu <11371776+isra-fel@users.noreply.github.com>
2024-10-10 16:58:32 +08:00
Xiaogang
2f0805c18f
Update docs for the new added config fixed-array ( #1386 )
2024-10-08 14:05:22 +08:00
Xiaogang
d9e6747429
Add the config fixed-array, which is false by default ( #1385 )
2024-10-08 11:05:17 +08:00
Yabo Hu
81740c0da1
generate assemblyinfo.cs for azure ( #1384 )
...
* add assemblyinfo to csproj
* insert header for assemblyinfo
* move insert header after compilation
* do not insert header if assemblyinfopaht not present
* fix
* remove write-host for insert license
2024-09-30 10:44:15 +08:00
Xiaogang
5d5411f9e4
Add license header for code generated by tsp emitter ( #1381 )
2024-09-25 13:57:55 +08:00
Xiaogang
86c1ae7bc6
Revert "generate assemblyinfo.cs for new module ( #1376 )" ( #1380 )
...
This reverts commit f925a81c6b
.
2024-09-24 16:55:47 +08:00
Beisi Zhou
e1e3c5fdac
Fix missing a space in command description ( #1379 )
2024-09-24 13:57:45 +08:00
Xiaogang
694cced14e
output-folder could be either relative path or absolute path ( #1378 )
2024-09-24 13:23:33 +08:00
Beisi Zhou
ce0daf5213
fix createOrUpdateRegex ( #1377 )
2024-09-24 09:11:12 +08:00
Yabo Hu
f925a81c6b
generate assemblyinfo.cs for new module ( #1376 )
...
* ignore *.psd1
* ignore assemblyinfo under Properties
* add cmdlet newassemblyinfo.cs to create assemblyinfo
* protect assemblyinfo.cs
* fix
* fix
* fix
* only generate assemblyinfo if is azure
2024-09-19 14:24:43 +08:00
Xiaogang
a317aa5c86
Update directives.md to fix some docs issue related to model-cmdlet
2024-09-11 09:58:32 +08:00
Xiaogang
413beb6f62
Fix 1374, need to check parent model for itemName for pageable api ( #1375 )
2024-09-11 09:44:34 +08:00
Beisi Zhou
0ba58e59a5
Throw error if current operation is mi operation but cannot be replaced by get+put ( #1371 )
...
* Throw error if current operation is mi operation but cannot be replaced by get+put
* throw error
* disable-transform-identity-type-for-operation
2024-09-06 14:54:40 +08:00
Xiaogang
14856fe9d4
tsp - move common config to the emitter ( #1372 )
2024-08-21 16:58:07 +08:00
Xiaogang
6922d41954
Update tsp-generator.ts to protect temp file and location file for CLI ( #1369 )
2024-08-14 10:08:18 +08:00
Xiaogang
15e249061c
tsp - Add support for protectedfiles ( #1368 )
2024-08-12 11:26:16 +08:00
Xiaogang
58a389a584
tsp - move configuration of verb-mapping to the emitter ( #1367 )
...
* tsp - move configuration of verb-mapping to the emitter
* Update emitter.ts
Add await for generatePwshModule
2024-08-06 13:12:54 +08:00
Xiaogang
8446da0dc2
tsp - add support for output-folder ( #1366 )
2024-07-31 13:43:13 +08:00
Xiaogang
41946e4499
Revert "tsp - add support for output-folder ( #1364 )" ( #1365 )
...
This reverts commit 2a1537bccd
.
2024-07-31 09:14:53 +08:00
Xiaogang
2a1537bccd
tsp - add support for output-folder ( #1364 )
2024-07-30 16:34:45 +08:00
Xiaogang
fdb4e30cf2
Add support for circle ref and uri parameter ( #1361 )
...
* Add support for circle reference
* Add support for URI parameter and upgrade TCGC to 0.44.2
* Update dependencies to 0.58.x and 0.44.x
2024-07-26 18:30:51 +08:00
Xiaogang
881275215b
Explictly specify the target folder of assets ( #1359 )
2024-07-25 18:38:42 +08:00
Xiaogang
f9c4db3761
Fixed anonymous type issue and upgrade autorest/powershell dependency ( #1357 )
2024-07-12 17:42:04 +08:00
Xiaogang
f2a6673a45
Revert "Update rush.json for test ( #1354 )" ( #1355 )
...
This reverts commit ff790224bb
.
2024-07-10 12:11:36 +08:00
Xiaogang
ff790224bb
Update rush.json for test ( #1354 )
...
Will revert later
2024-07-10 11:47:22 +08:00
Xiaogang
4f7c30e0be
Upgrade docker for codegen ( #1352 )
2024-07-09 16:14:09 +08:00
Xiaogang
b87b8b9d96
Add 200 response for lro deletion if it is not defined ( #1351 )
2024-07-08 14:52:13 +08:00
Xiaogang
07592fede7
reorg the emitter code structure and prepare for the initial release ( #1350 )
2024-07-08 09:24:17 +08:00
Xiaogang
43e5eacacf
Fixed a name issue related to uppercase/lowercase ( #1348 )
2024-07-04 10:40:33 +08:00
Xiaogang
1bb7ece315
Initial version of tsp emitter ( #1347 )
...
* Init tsp
* Add language node
* Add query, path and global parameters
* Add body request
* Init schema
* Add some workaround
* initial support for enum
* Handle unkown type
* Fixed names, handle x-ms-mutability and fixed some issues
* Fixed a few issues found in module generation
* Fixed a few issues
* Add tsphost
* inital generator base on tsp
* Fixed some minor issues
* Add support for header response
* Union support for enum
* Skip deep clone for some operation properties
* Fixed the issue for void input of request
* Fixed a few issues
* Fixed an issue related to anonymous object
* remove redundant psNamer(state)
* Add support for validation
* upgrade tps to 0.57
* Fixed a lint error
2024-07-04 09:23:46 +08:00
Xiaogang
cc5cec2eb7
Add support for operation-location ( #1346 )
2024-06-28 14:35:02 +08:00
Xiaogang
104451c3ad
Update migration-from-v3-to-v4.md
...
Remove duplicated content
2024-06-19 15:11:16 +08:00
Yeming Liu
604ab825fb
Create code of conduct ( #1342 )
2024-05-22 13:11:52 +08:00
NoriZC
228c6aef23
Added after build task in build-module generation ( #1331 )
...
* after build
* after build
* add root module
* add default after build
* Update project.ts
* revert
* after build
* add diusable
* update
* update
2024-05-09 15:46:56 +08:00
Xiaogang
c117b33764
Fixed a comment related issue for sdk ( #1338 )
2024-04-23 19:00:52 +08:00
Beisi Zhou
dd48f75987
fix global match ( #1335 )
2024-04-23 13:45:46 +08:00
Beisi Zhou
b522cef313
fix the description issue for get+put command ( #1334 )
2024-04-22 16:36:54 +08:00
Yabo Hu
70c9348af1
serialization mode for get put ( #1332 )
2024-04-15 13:07:20 +08:00
Beisi Zhou
030855d0a0
give a default value if identity type is required ( #1330 )
...
* give a default value if identity type is required
* fix rush lint
2024-04-11 13:53:26 +08:00
Vincent Dai
d34091366f
Add new warning message when output is plain text instead of object. ( #1328 )
2024-04-10 16:39:39 +08:00
Beisi Zhou
f6c2148806
replace managed user assigned identity instead of appending ( #1329 )
2024-04-10 16:02:00 +08:00
Yan Xu
8949281dfa
Add a workflow file to trigger publish pipeline ( #1327 )
2024-04-10 10:53:50 +08:00