Fetches the full category entry.
GET /cwe/category/{id}
The category object
Allows the resource to be awaited directly, resolving with the full category. Delegates to CategoryResource.get.
Optionalonfulfilled: null | (value: CweCategory) => TResult1 | PromiseLike<TResult1>Optionalonrejected: null | (reason: unknown) => TResult2 | PromiseLike<TResult2>
Represents a CWE category resource, providing access to category details.
Implements
PromiseLike<CweCategory>so it can be awaited directly.Example