ballerina-dev-tools
ballerina-dev-tools copied to clipboard
[Bug]: Incorrect `category` for table type `keyConstraint` when generating api-docs
Description
When generating the api-docs using bal doc
command the generated api-docs identifies the category
of the keyConstraint
of Table type as UNKNOWN
.
Following is the code used to produce the api-docs,
Following is the api-docs snippet related to the issue,
Steps to Reproduce
Run the bal doc
command for following code,
type Student record {|
readonly string firstName;
string lastName;
int age;
|};
public type TableTypeWithKey table<Student> key(firstName);
Affected Version(s)
Ballerina 2201.8.4 (Swan Lake Update 8) Ballerina 2201.9.0 SNAPSHOT (Swan Lake Update 9)
OS, DB, other environment details and versions
No response
Related area
-> API Docs
Related issue(s) (optional)
No response
Suggested label(s) (optional)
No response
Suggested assignee(s) (optional)
No response