By the way, you can use the "allOf hack" to put documentation alongside a ref. TypeSpec emits this for common cases like this one:
https://typespec.io/playground?c=bW9kZWwgRm9vIHsNCiAgLyoqIHR...
https://typespec.io/playground?c=bW9kZWwgRm9vIHsNCiAgLyoqIHR...
Does TypeSpec have description fields? I don't think I've seen any in the examples.
model Foo {
/** this is a description */
x: Bar;
}
/** this is also a description */
model Bar {}I also can't find any similar strings in any of the samples in the drop-down list.