DSC icon indicating copy to clipboard operation
DSC copied to clipboard

Tool to generate DSC resource from OpenAPI spec

Open SteveL-MSFT opened this issue 9 months ago • 3 comments

Summary of the new feature / enhancement

Enable configuration of REST services by turning REST APIs via an OpenAPI spec into a DSCv3 resource

Proposed technical implementation details (optional)

No response

SteveL-MSFT avatar Mar 26 '25 18:03 SteveL-MSFT

This seems like a reasonable use case for an OpenAPI adapter, maybe - handle invoking the REST calls based on the OpenAPI specs.

michaeltlombardi avatar Mar 27 '25 13:03 michaeltlombardi

The downside of the adapter approach would be that you would need the OpenAPI specs on your system whereas generation of a DSC resource you could just publish and share the resource. These two paths aren't mutually exclusive, but we'd want to prioritize one over the other (if we decide to implement it ourselves).

SteveL-MSFT avatar Mar 28 '25 18:03 SteveL-MSFT

Interesting tool related to this https://learn.microsoft.com/en-us/openapi/kiota/overview

SteveL-MSFT avatar Mar 28 '25 18:03 SteveL-MSFT