The documentation you are viewing is for an older version of this component.
Switch to the latest (v5) version.
Dotkernel API is not a one-to-one replacement of api-tools ( former Apigility), but is only a potential solution to migrate to.
Functionalities, components and architecture are different.
See the Comparison between Dotkernel APi and api-tools
There are at least 2 approaches for this transition:
and recreate all endpoints and entities
and keep it running as separate platforms until the sunset of the current version of api-tools