Skip to content

Enable adapter to return schema for a resource #1352

@SteveL-MSFT

Description

@SteveL-MSFT

Summary of the new feature / enhancement

Currently, DSC just calls the adapter validate operation to confirm if the input JSON matches the target resource schema. However, to enable rich authoring experiences we need the actual JSONSchema for an adapted resource. In this case, it makes sense to extend the schema operation in the adapter resource manifest to accept a command that has the resourceTypeArg and expect that it returns the JSONSchema as a JSONLine

This includes supporting:

dsc resource schema -r <adapted resource>

Proposed technical implementation details (optional)

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions