@pubinfo/preset-openapi
v0.7.0
Published
Preset for @pubinfo/openapi.
Downloads
19
Readme
@pubinfo/preset-openapi
Preset for @pubinfo/openapi.
Install
# npm
npm install @pubinfo/preset-openapi -D
# yarn
yarn add @pubinfo/preset-openapi -D
# pnpm
pnpm install @pubinfo/preset-openapi -D
Usage
// openapi.config.js / openapi.config.ts
import { presetName } from '@pubinfo/preset-openapi'
export default {
presets: [
presetName({ /* preset options */ }),
]
}
Configuration
presetName({
// Generated function named.
// Acceptable value: camelCase | operationId
functionName: 'camelCase'
})