-
Notifications
You must be signed in to change notification settings - Fork 178
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DocComments should support "@prop <propName>" inside comments on model elements to make documenting a model a single block comment #2211
Comments
All those questions are probably going to get resolved tomorrow during the design meeting for But need to make sure we have a consistent logic for the following:
I would expect
I would expect |
Related to #2233 |
Yay - great to see this moving - we've really sold it to teams for Graph. |
@mario-guerra any chance we can get this prioritized? We're trying hard to sell TypeSpec as master to our docs team and everyone really wants this. |
Pinging @allenjzhang for comment on prioritization. |
Pr fixing the issue with |
|
PR #3527 |
…3527) closes #2211 [Playground example](https://cadlplayground.z22.web.core.windows.net/prs/3527/?c=LyoqCiAqIE1vZGVsIGRvY8QNQHByb3AgYSBByg1iIELKDWMgQ8oNZCBECiAqLwptxUJCYXNlIHsKICBhOiBzdHJpbmc7CiAgYsoNCiAgLyoqIEV4cGxpY2l0IHZpYcR3IGNvbW1lbnTESiAgY80wQGRvYygiZcwyxBMiKSBkyih9CgrnAMvoAKRvdmVycmlkZcVfaGVyZesAp0NoaWxk5QCoLi4u5AC0xEE%3D&e=%40typespec%2Fopenapi3&options=%7B%7D)
Graph API reviewers prefer the following syntax for authoring and reviewing to provide greater visual scanning on read (at the cost of editing in two places for updates).
This would be semantically equivalent to:
Similarly for enums,
@member <membername>
embeddings should be supported for consistency of commenting style across structured elements.The text was updated successfully, but these errors were encountered: