Comments (2)
@BethanyZhou The issue is for the parameter, whose type is an enum array. We do not add the completer for it.
from autorest.powershell.
Update readme:
# pin the swagger version by using the commit id instead of branch name
commit: ebce1c690af6060f0e5a72d875edf752d41d5769
tag: package-2024-04-01
require:
# readme.azure.noprofile.md is the common configuration file
- $(this-folder)/../../readme.azure.noprofile.md
- $(repo)/specification/sphere/resource-manager/readme.md
# If the swagger has not been put in the repo, you may uncomment the following line and refer to it locally
# - (this-folder)/relative-path-to-your-local-readme.md
try-require:
- $(repo)/specification/sphere/resource-manager/readme.powershell.md
# For new RP, the version is 0.1.0
module-version: 0.1.0
# Normally, title is the service name
title: Sphere
subject-prefix: $(service-name)
directive:
- where:
variant: ^(Create|Update|Generate)(?!.*?Expanded|ViaJsonString|ViaJsonFilePath)
remove: true
- where:
verb: Remove
subject: Device|Image|Deployment
remove: true
- where:
verb: Update
subject: Image
remove: true
- where:
verb: Upload
subject: UploadCatalogImage
remove: true
- where:
variant: ^List(?!.*?Expanded)
subject: CatalogDeviceGroup
remove: true
- where:
variant: ^(Retrieve)(?!.*?Expanded)
subject: CertificateProof
remove: true
- where:
variant: ^Claim(?!.*?Expanded)
subject: ClaimDeviceGroupDevice
hide: true
# Remove the set-* cmdlet
- where:
verb: Set
hide: true
and code line 174-183:
[Parameter(ParameterSetName='GenerateExpanded', Mandatory)]
[Parameter(ParameterSetName='GenerateViaIdentityCatalogExpanded', Mandatory)]
[Parameter(ParameterSetName='GenerateViaIdentityDeviceGroupExpanded', Mandatory)]
[Parameter(ParameterSetName='GenerateViaIdentityExpanded', Mandatory)]
[Parameter(ParameterSetName='GenerateViaIdentityProductExpanded', Mandatory)]
[AllowEmptyCollection()]
[Microsoft.Azure.PowerShell.Cmdlets.Sphere.Category('Body')]
[System.String[]]
# List of capabilities to create
${Capability},
from autorest.powershell.
Related Issues (20)
- Build-module will overwrite updated example files when renaming.
- Media content-type header is not being generated for input file types. HOT 3
- [Autorest] optional parameter is set to be required in VMware swagger
- Module will be created and inited many times in one session when `-Parallel` is used. HOT 2
- Monitor Metric Get-AzMetricsBatch encode name parameter twice HOT 1
- [Feature] Generate cmdlet to Add/remove elements for a complex array parameter HOT 1
- [Feature] Generate parameter description with possbile values. HOT 2
- build-module.ps1 - The parameter 'Body' has multiple parameter types HOT 1
- Dockerfile needs updating HOT 2
- Test-Module: Import Az.Accounts should not be required HOT 3
- Infinite recursion issue when traversing object properties HOT 2
- Remove use of write-information as it pollutes information stream when loading Az-modules
- format url is invalid type when generating with autorest 3.x HOT 2
- Add support for 'operation-location' for dataplane LRO(Long Running Operations) HOT 2
- Module fails to build due to duplicate definitions HOT 2
- MG-graph Mail Forward issue HOT 1
- Module fails to build due to missing arguments HOT 7
- Parameter name is a duplicate HOT 4
- Synopsis/Description does not support newlines
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from autorest.powershell.