One wildcard barrel#
Set type to 'all' so each barrel uses export *, a smaller barrel that re-exports everything.
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()],
})