Closed
Description
For the code:
type pathItem = {}
/**
Describes a single API operation on a path.
*/
and operation = {}
I get
Did you forget to attach `res.doc` to an item?
Standalone attributes start with `@@` like: `@@res.doc`
Putting it in another place returns different, but still weird error:
type pathItem = {}
and /**
Describes a single API operation on a path.
*/ operation = {}
I'm expecting a lowercase name like `user or `age`
And a third error for another case:
type pathItem = {}
and operation = /**
Describes a single API operation on a path.
*/ {a: string}
An inline record type declaration is only allowed in a variant constructor's declaration