mirror of
https://github.com/harness/drone.git
synced 2025-05-19 02:20:03 +08:00
Fix Restful React generation missing /api/v1 (#348)
This commit is contained in:
parent
9cd7677efa
commit
ae06520dad
@ -10,7 +10,7 @@ module.exports = {
|
|||||||
file: 'src/services/code/swagger.yaml',
|
file: 'src/services/code/swagger.yaml',
|
||||||
customImport: `import { getConfig } from "../config";`,
|
customImport: `import { getConfig } from "../config";`,
|
||||||
customProps: {
|
customProps: {
|
||||||
base: `{getConfig("code")}`
|
base: `{getConfig("code/api/v1")}`
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user