(specRoot: string)
| 69 | } |
| 70 | |
| 71 | async function createServiceMapping(specRoot: string) { |
| 72 | const content = { |
| 73 | 'resources/service-specs/API_BUSINESS_PARTNER.edmx': { |
| 74 | directoryName: 'cloud-business-partner-service', |
| 75 | basePath: '/sap/opu/odata/sap/API_BUSINESS_PARTNER', |
| 76 | packageName: 'cloud-business-partner-service' |
| 77 | }, |
| 78 | 'resources/service-specs/OP_API_BUSINESS_PARTNER_SRV.edmx': { |
| 79 | directoryName: 'op-business-partner-service', |
| 80 | basePath: '/sap/opu/odata/sap/API_BUSINESS_PARTNER', |
| 81 | packageName: 'op-business-partner-service' |
| 82 | } |
| 83 | }; |
| 84 | await writeFile( |
| 85 | join(specRoot, 'options-per-service.json'), |
| 86 | JSON.stringify(content, null, 2), |
| 87 | { encoding: 'utf-8' } |
| 88 | ); |
| 89 | } |
no outgoing calls
no test coverage detected