DSC icon indicating copy to clipboard operation
DSC copied to clipboard

Fix input schema validation for RebootPending resource

Open anmenaga opened this issue 1 year ago • 2 comments

PR Summary

Fix #485

When used in a configuration Microsoft.Windows/RebootPending was failing input schema validation. This PR adds empty schema (because RebootPending resource expects no input) to resolve that issue.

@michaeltlombardi please let me know if this is not the right way to do this for resources that do not take input.

anmenaga avatar Jul 12 '24 06:07 anmenaga

@anmenaga I think the schema should also reflect the output so people can view the schema and know what to expect even if it takes no input

SteveL-MSFT avatar Jul 12 '24 23:07 SteveL-MSFT

add static schema to manifest

@SteveL-MSFT That is "schema/embedded/properties" node, right? Updated.

anmenaga avatar Jul 13 '24 06:07 anmenaga