@timotheeguerin shared instructions for adding Cadl tests here: https://github.com/Azure/autorest.testserver/wiki/Cadl-Scenario-Tests
This issue tracks the work to create a set of simple hello-world tests to support generating models with properties described in this issue:
Azure/autorest.csharp#2337 (comment), specifically:
These tests should cover the cases where the model is an:
- Input model (only an input to a PUT operation)
- Output model (only an output from a GET operation)
- Input/output model (both an input to a PUT operation and an output from a GET operation)
So that languages that treat these differently can validate their scenarios for each, and their evolution story into input/output model.
@timotheeguerin shared instructions for adding Cadl tests here: https://github.com/Azure/autorest.testserver/wiki/Cadl-Scenario-Tests
This issue tracks the work to create a set of simple hello-world tests to support generating models with properties described in this issue:
Azure/autorest.csharp#2337 (comment), specifically:
Note: Should include sub-types for C# like url and Etag (exact list TBD). CADL express this with “format” modifier like Swagger does.
Note: RFC3339 if serialized in JSON or RFC2616 if serialized via a header.
These tests should cover the cases where the model is an:
So that languages that treat these differently can validate their scenarios for each, and their evolution story into input/output model.