Skip to content

Update OPS schema #591

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Feb 8, 2023
Merged

Update OPS schema #591

merged 2 commits into from
Feb 8, 2023

Conversation

xmdanni
Copy link
Collaborator

@xmdanni xmdanni commented Jan 12, 2023

Update and rename PowerShellCmdlet.schema-new.json to PowershellCmdletV2.schema.json

PR Summary

Sync the latest v2 schema from Azure DevOps to GitHub.

PR Context

Followed #575 to update the latest change.

"type": "string"
},
"pipelineInput": { // change from bool to string, need to change js and template
"type": "string"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"type": "string"
"type": "bool"

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I set the type to string here because of Sean's reply in this work item on 2022-Jul-6. Can you confirm with @sdwheeler? Thanks.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That is correct, it shoudl be a string.

When there is only one parameter set, the value can be "False", "ByValue", or "ByName".

When there are multiple parameter sets, the value can be "ByValue (parametersetname list)", "ByName (parametersetname list), "False (parametersetname list)", or a combination of any of those values.

Co-authored-by: Aditya Patwardhan <adityap@microsoft.com>
@adityapatwardhan adityapatwardhan merged commit 412a0a8 into PowerShell:master Feb 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants