Are you an LLM? You can read better optimized documentation at /plugins/plugin-barrel/recipes/one-wildcard-barrel.md for this page in Markdown format
One wildcard barrel
Set type to 'all' so each barrel uses export *, a smaller barrel that re-exports everything.
kubb.config.ts
typescript
import { defineConfig } from 'kubb/config'
import { pluginTs } from '@kubb/plugin-ts'
export default defineConfig({
input: './petStore.yaml',
output: { path: './src/gen', clean: true, barrel: { type: 'all' } },
plugins: [pluginTs()],
})