Api.lua path in documentation is broken

I am referring to the documentation here : https://docs.konghq.com/2.0.x/plugin-development/admin-api/#adding-endpoints-to-the-admin-api

This code will create two Admin API endpoints in /consumers/:consumers/key-auth, to obtain (GET) and create (POST) credentials associated to a given consumer. On this example the functions are provided by the kong.api.endpoints library. If you want to see a more complete example, with custom code in functions, see the api.lua file from the key-auth plugin.

The link to api.lua is broken. https://github.com/Kong/kong/blob/master/kong/plugins/key-auth/api.lua

Where do I find this file?

Tracking the issue internally to get this fixed.

Meanwhile, https://github.com/Kong/kong-plugin-prometheus/blob/master/kong/plugins/prometheus/api.lua