Skip to content


This page is a reference to the different options you can use for configuring your Kubb config. By setting the following options you can override the default behavior of Kubb and even extend it with your plugins.

import { defineConfig } from '@kubb/core'
import { pluginOas } from '@kubb/plugin-oas'

export default defineConfig({
  input: {
    path: './petStore.yaml',
  output: {
    path: './src/gen',
  plugins: [
      output: {
        path: 'schemas',
      validate: true,

Released under the MIT License.