Re:Write OpenAPI with TypeSpec
by FourOnTheFloor on Friday March 29, 2024 @04:23AM
(#39861768)
Thanks. I don't see any in that playground though. Which document are they in? I think I looked in all the ones in the drop-down.
[ Parent
| on HN ]
The link should load up with a sample I wrote, I think? It does for me anyway! Let me know if you don't see it. But I'll also paste it here:
model Foo {
/** this is a description */
x: Bar;
}
/** this is also a description */
model Bar {}
Re:Write OpenAPI with TypeSpec
by FourOnTheFloor on Sunday March 31, 2024 @07:28PM
(#39889226)
Thanks. Never having seen a description in this language, I wouldn't know that the above syntax designated one; it looks like a comment.
I also can't find any similar strings in any of the samples in the drop-down list.