You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// openapi.config.jsmodule.exports={file: 'path to local or remote swagger v2 or v3 spec',outputDir: 'relative path to generated api directory',presets: ['openapi-preset-effector'],};
Options
// openapi.config.jsmodule.exports={file: 'path to local or remote swagger v2 or v3 spec',outputDir: 'relative path to generated api directory',presets: [['openapi-preset-effector',{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