A record of API extension methods that can be used to extend the API
The keys of the record must not start with a slash
const api = createApi(schema, (api) => ({ 'my-extension': { get: () => { return 'Hello World'; } }})) Copy
const api = createApi(schema, (api) => ({ 'my-extension': { get: () => { return 'Hello World'; } }}))
Description
A record of API extension methods that can be used to extend the API
Note
The keys of the record must not start with a slash
Example