mirror of
https://github.com/harness/drone.git
synced 2025-05-01 21:21:11 +00:00
17 lines
433 B
JavaScript
17 lines
433 B
JavaScript
/**
|
|
* Please match the config key to the directory under services.
|
|
* This is required for the transform to work
|
|
*/
|
|
const customGenerator = require('./scripts/swagger-custom-generator.js')
|
|
|
|
module.exports = {
|
|
code: {
|
|
output: 'src/services/code/index.tsx',
|
|
file: 'src/services/code/swagger.yaml',
|
|
customImport: `import { getConfig } from "../config";`,
|
|
customProps: {
|
|
base: `{getConfig("code")}`
|
|
}
|
|
}
|
|
}
|