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
Yabo Hu
f8ecbc617a
fix null reference ( #1326 )
2024-03-27 01:00:27 +08:00
Beisi Zhou
d599838d48
Update class.ts ( #1324 )
2024-03-25 15:53:26 +08:00
Yabo Hu
38dd664c34
support default subscriptionid with util function ( #1323 )
...
* do not remove loadEnv.ps1 while regenerate/rebuild
* add function get-localsubscription
* rename function
* adjust subscription id in export cmdlets
* typo
* remove environment variable
* move get-subscriptionidtestsafe to utils
* add template loadenv back
* fix mockpipeline type
* fix
* add tenant back in parameter default
* use subscription id safe only in playback mode
2024-03-25 13:54:29 +08:00
Vincent Dai
d3ba471bdd
Implement sanitizer handler for autorest modules ( #1320 )
...
* Implement sanitizer handler for autorest modules
* Generate code only when in Azure modules
2024-03-21 17:02:36 +08:00
Xiaogang
33796ee7cb
Revert "Add function in psm1 to mock subscription id ( #1318 )" ( #1322 )
...
This reverts commit 7359d8e03e
.
2024-03-21 09:45:51 +08:00
Yabo Hu
7359d8e03e
Add function in psm1 to mock subscription id ( #1318 )
...
* do not remove loadEnv.ps1 while regenerate/rebuild
* add function get-localsubscription
* rename function
* adjust subscription id in export cmdlets
* typo
* remove environment variable
* move get-subscriptionidtestsafe to utils
* add template loadenv back
* fix mockpipeline type
* fix
* add tenant back in parameter default
2024-03-20 16:56:18 +08:00
Xiaogang
c33b901221
Update sdk-tweak-model.ts ( #1317 )
...
* Update sdk-tweak-model.ts
For head API, the response should be 204
* Update sdk-tweak-model.ts
2024-03-12 07:53:59 +08:00
Beisi Zhou
ba1766846d
Add check for the type definition of UserAssignedIdentity ( #1316 )
2024-03-06 09:45:58 +08:00
Beisi Zhou
f5dda9308b
add psargumentcompleter for enum array ( #1315 )
2024-03-04 15:26:08 +08:00
Xiaogang
0f267183db
Fixed a minor docs issue ( #1314 )
2024-03-01 16:15:11 +08:00
Xiaogang
b9d6f405cc
Update PsProxyTypes.cs
...
To remove a redundant dot
2024-02-28 13:07:04 +08:00
Beisi Zhou
cfa925f8b2
Add check if disable-transform-identity-type during the process of generating cmdlet class ( #1311 )
...
* don't change disable-transform-identity-type value
* Update powershell/cmdlets/class.ts
* Update powershell/cmdlets/class.ts
* change disable-transform-identity-type to true if one cmdlet doesn't match requirements
2024-02-26 17:15:40 +08:00
Beisi Zhou
e6037e6e8d
Add patch back if no get or put ( #1310 )
...
* Add patch back if no get or put
* add isAzure
2024-02-23 13:54:58 +08:00
Xiaogang
4e3a0de512
Remove status from README.md of a module for security ( #1307 )
2024-02-21 09:22:45 +08:00
Xiaogang
9ffb1eb762
Remove useless message since Notes have been removed ( #1306 )
...
* Remove useless message since Notes have been removed
* Use markdown syntax for related links
2024-02-20 13:31:47 +08:00
Beisi Zhou
84a9d4bfd5
Update migration-from-v3-to-v4.md
2024-02-20 13:21:08 +08:00
Beisi Zhou
3eda1d4e98
Update features-of-v4.md
2024-02-20 13:20:33 +08:00