mirror of
https://github.com/harness/drone.git
synced 2025-05-02 21:55:27 +00:00
17 lines
444 B
JavaScript
17 lines
444 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 = {
|
|
pm: {
|
|
output: 'src/services/policy-mgmt/index.tsx',
|
|
file: '../design/gen/http/openapi3.json',
|
|
customImport: `import { getConfigNew } from "../config";`,
|
|
customProps: {
|
|
base: `{getConfigNew("pm")}`
|
|
}
|
|
}
|
|
}
|