// openapi.config.jsmodule.exports={file: 'path to local or remote swagger v2 or v3 spec',outputDir: 'relative path to generated api directory',presets: ['effector-openapi-preset'],};
Options
// openapi.config.jsmodule.exports={file: 'path to local or remote swagger v2 or v3 spec',outputDir: 'relative path to generated api directory',presets: [['effector-openapi-preset',{effectorImport: 'effector-root',requestName: 'fetchFx',requestPath: '../lib/fetch',},],],};
effectorImport (default "effector") — what instance of the effector should be used
requestName (default "requestFx") — change base effect for the each request
requestPath (default "./request") — whether to import base request from
The Tidelift Subscription provides access to a continuously curated stream of human-researched and maintainer-verified data on open source packages and their licenses, releases, vulnerabilities, and development practices.