export const getConsumers = apiFactory({
  url: ({ baseUrl, namespace }: { baseUrl?: string; namespace: string }) =>
    `${baseUrl ?? ""}/api/v2/namespaces/${namespace}/gateway/consumers`,
  method: "GET",
  schema: ConsumersListSchema,