Azure / autorest.csharp

Extension for AutoRest (https://github.com/Azure/autorest) that generates C# code
MIT License
142 stars 165 forks source link

introduce examples for MPG from typespec #5014

Closed ArcturusZhang closed 1 month ago

ArcturusZhang commented 1 month ago

Fixes https://github.com/Azure/autorest.csharp/issues/4979

Description

This is the 3rd step of supporting the examples from typespec. The emitter could receive the example values from TCGC (1st step), this PR enables the generator to consume those example values and produce example code of MPG libraries (reused the old sample generator code)

Checklist

To ensure a quick review and merge, please ensure:

Ready to Land?