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

1451 Коммитов

Автор SHA1 Сообщение Дата
Tim 6e365aedeb Escape angle brackets for placeholders (#958)
* Escape angle brackets for placeholders

* Use Backticks to escape

Co-authored-by: Timothy Wamalwa <twamalwa@microsoft.com>
Co-authored-by: Xiaogang <xidi@microsoft.com>
2023-06-06 21:40:12 +08:00
Xiaogang 9cb34a96b1 Fixed two minor issues - single quote related and uri.tostring related (#953)
* Fixed two minor issues - single quote related and uri.tostring related

* Revert the change
2023-06-06 21:40:12 +08:00
Xiaogang e96d8f477c
v4 - remove duplicated word in group (#1169) 2023-06-02 21:22:08 +08:00
Xiaogang 256af130a7
v4 - only singulize the last word in the group (#1172) 2023-06-02 17:21:51 +08:00
Xiaogang 43baf5ee07
Update test-module.ps1 to enable exit (#1170) 2023-05-31 19:08:35 +08:00
Xiaogang 8c589f74e7
v4 - Polymorphic member should be public in a model (#1168) 2023-05-30 13:48:54 +08:00
Xiaogang ebbffbd923
v4 - Inherited internal property should be internal instead of public (#1167) 2023-05-30 07:20:18 +08:00
Xiaogang 0bc76c3a4d
v4 - stop getting next page if nextlink is an empty string (#1166) 2023-05-29 15:28:29 +08:00
Beisi Zhou 9f65a9c799
Remove complex interface information from help markdown (#1164) 2023-05-25 15:48:10 +08:00
Xiaogang a83ee56858
v4 - Fixed an issue wrt the name conflict (#1165) 2023-05-24 09:45:21 +08:00
Xiaogang f0a3b201aa
v4 - fixed two issue #1152 and #687 (#1163) 2023-05-19 18:54:25 +08:00
Vincent Dai 96e95ea345
Return the object even it has one property (#1162) 2023-05-17 09:46:33 +08:00
Beisi Zhou bc04a217ff
Support customize command description (#1161)
* Support customizing command description

* filter command description for New/Update command

* Polish code

* Update powershell/plugins/create-commands-v2.ts
2023-05-17 09:44:46 +08:00
Yabo Hu e8a37db407
Polish response method deserialization (#1157)
* add additional hook for onOK

* add hook to modify deseriliazed response

* bug fix
2023-05-15 15:20:44 +08:00
Yunchi Wang b3503d6694
Add support of json input (#1141)
* Add support of json input

* Revert project.ts

* Add support of json input

* Add support of json input

* Reformat the code

* Reformat the code

* update

* Move logic to create-commands-v2

* Fix the issue for via identity

* Fix for MSGraph

* Fix for Enum

* Fix for Enum

* Fix for Enum

* Fix for Enum

* Fix for Enum

* Fix for Enum

* Fix for DefaultParameterSet

* Fix for body name conflict

* fix for useless field
2023-05-12 16:40:02 +08:00
Beisi Zhou de66e02270
Update directives.md 2023-05-11 15:28:11 +08:00
Xiaogang 1db84a6337
v4 - add directive to suppress shouldprocess, fixed #704 (#1158) 2023-05-11 09:39:41 +08:00
Xiaogang 92e3ee8c39
Update version to dev 9 2023-05-10 16:20:53 +08:00
Xiaogang 7c7bc89d37
v4 - fixed an issue related to array (#1156) 2023-05-10 10:13:32 +08:00
Yabo Hu d24340f431
handle non-string type (int/boolean) in path parameter (#1155) 2023-05-09 09:57:02 +08:00
Xiaogang 14aba92b78
v4 - should be NotIsolated instead of Isolated (#1154) 2023-05-08 09:34:33 +08:00
Beisi Zhou 840b1952e4
Remove private endpoint endpoint and private link resource related commands by default (#1153)
* remove private endpoint endpoint and private link resource by default

* Update powershell/plugins/modifiers-v2.ts
2023-04-28 07:39:13 +08:00
Beisi Zhou 1dd14d8c88
Change default values for azure case (#1148) 2023-04-23 16:33:23 +08:00
Xiaogang d9e4e4e49c
Add retry support in v4 (#1150)
* v4 - draft retry support

* v4 -- update retry code

* v4 - complete implementation for retry
2023-04-21 18:24:54 +08:00
Yabo Hu c79c7caf81
support parent object pipeline input (#1116)
* support parent object pipeline input

* proxy resources

* correct path for 2 plus hierarchy resources

* update variant name and inputobject name to have resource type

* remove 'Expanded' from input object name

* [bugfix] compare command name by 'verb+subjectprefix+subject+name' instead of 'verb+subject+name'

* match 'ViaIdentity\d?' instead of 'ViaIdentity'

* keep the order of parameters while invoke client method

* typo

* sort path parameters

* stop adding variants for parent resources when no valid name found

* enable getbyitself and disable listbyparent

* reverse default behavior as it cause existing test cases fail

* refine code and add comments

* update parent pipeline input flag name

* toggle default value for enable-parent-pipeline-input-for-list to true

* bug
2023-04-21 10:56:20 +08:00
Beisi Zhou ce714f29f7
Remove enums from namespace and add PSArgumentCompleter to help customer to type values for enums (#1146)
* Change Enum class to its origin type

* wip

* wip

* add psargumentcompleter in proxy cmdlet

* add psargumentcompleter for model and change create-model-cmdlet.ps1

* Remove comments

* Remove enum implementation judgement

* Remove comments
2023-04-20 13:40:16 +08:00
Xiaogang 0567094edc
v4 - fix an array related issue for client side pagination (#1147) 2023-04-18 13:33:18 +08:00
Xiaogang a92e1e5d0a
Bump autorest/powershell to 4.0.0-dev.8 2023-04-17 15:10:55 +08:00
Xiaogang 850b559525
v4 - support setting cmdlet name for model cmdlet (#1145) 2023-04-13 09:27:14 +08:00
VeryEarly 28d1fa1f83 Fixed a discriminator related issue 2023-04-10 15:40:52 +08:00
Xiaogang 01c7107949
v4 - remove discriminator parameter in auxiliary cmdlet (#1142) 2023-04-07 19:01:17 +08:00
Xiaogang 4b2fc841f7
SDK -- add a script to compare functions (#1136)
* v4 - function compare

* SDK - Add a script to detect different functions
2023-03-27 12:40:24 +08:00
Beisi Zhou 740f7210ce
Remove API Version from Namespace (#1135)
* Remove API version from namespace

* Remove API Version from New-AzDeployment

* Fix

* Keep {ServiceName}Identity for InputObject
2023-03-27 09:55:48 +08:00
Beisi Zhou 853f312266
Supported auto switch view (#1131)
* Support changing ps1xml by parameter auto-switch-view in directive

* support switch view

* bug fix

* Polish code

* fix
2023-03-20 17:14:53 +08:00
Xiaogang 96375ce6d6
v4 - intial support for nonfixed array (#1130)
* v4 - intial support for nonfixed array

* v4 - use array for parameter

* v4 - allow empty for array
2023-03-16 10:27:39 +08:00
Yabo Hu ee73e00f98
Update create-model-cmdlets.ps1 2023-02-28 16:10:26 +08:00
Yabo Hu 5119adaf33
Update create-model-cmdlets.ps1 2023-02-27 17:07:54 +08:00
Beisi Zhou 64f62a87c0
[Docs] Replace docs.microsoft.com to learn.microsoft.com in develop branch (#1120)
* replace docs.microsoft.com to learn.microsoft.com

* remove culture localization
2023-02-22 15:56:13 +08:00
Xiaogang 9f0eaabdfc
sdk - Add support for payload-flattening-threshold (#1117) 2023-02-17 23:22:51 +08:00
Xiaogang c6efc787a5
sdk - Add support for array of array (#1113) 2023-02-15 17:11:30 +08:00
Xiaogang 3fe545475b
sdk - Add support for head request without response and return 404 (#1112) 2023-02-13 10:29:12 +08:00
Xiaogang 1c5c2fed86
Bump the package version to 4.0.0-dev.7 2023-02-06 12:40:42 +08:00
Yunchi Wang 54d89a37fa
Add category for body object (#1103)
* Add category for body object

* update category body rule
2023-02-06 12:13:19 +08:00
Xiaogang d1dda7cfc0
sdk - remove redundant constructor for model without properties (#1106) 2023-02-06 12:12:49 +08:00
Yabo Hu f7ab5e58ec
line break for comments (#1100)
* line break for comments

* apply comments wrapper

* fix indentation

* Enable test for provider-containerRegistry

* fix csharp generated for containerregistry

* fix

---------

Co-authored-by: Xiaogang <xidi@microsoft.com>
2023-02-03 11:09:17 +08:00
Beisi Zhou 993a4c3eed
Enable provide AKS test (#1097)
* remove unneccessary files

* enable test
2023-01-20 10:17:10 +08:00
Yunchi Wang 36fd8529e8
Add feautre to generate ux metadata file (#1076)
* commit

* Update template

* Update template

* Update template

* Update template

* Update template

* update

* Update the logic of getting module name and description of cmdlet
2023-01-19 16:02:28 +08:00
Xiaogang 7488842817
sdk - Change autorest.csharp generated code for storage (#1099) 2023-01-19 15:59:09 +08:00
Xiaogang f13cada0e2
sdk - Fixed an issue related to object model that contains ContainsConstantProperties (#1098) 2023-01-19 12:40:13 +08:00
Beisi Zhou a1a994c4ea
manually fix naming and order difference (#1094) 2023-01-19 10:36:54 +08:00