Azure / typespec-azure

About TypeSpec Azure Libraries
https://azure.github.io/typespec-azure/
MIT License
8 stars 28 forks source link

[Doc]: Update DPG versioning document to include JS RLC Code #1074

Open lirenhe opened 1 week ago

lirenhe commented 1 week ago

Clear and concise description of the problem

Today, when people review: docs/howtos/DataPlane Generation - DPG/09versioning.mdx, they will find '// there's no apiVersion defined in the all the operations, TypeScript emitter will ignore it.' for TypeScript code.

The root cause is that 'apiVersion' is not defined in the operation. To make the doc more useful, I suggest to update the spec to add more 'Versioned' operation so that we could show the behavior for JS as well.

Checklist