1.17.2 • Published 4 years ago

@sap/cloud-sdk-generator v1.17.2

Weekly downloads
18
License
SEE LICENSE IN de...
Repository
-
Last release
4 years ago

@sap/cloud-sdk-generator

Generate your own service module using a service specification (.edmx file).

Installation

npm install @sap/cloud-sdk-generator

Usage

The generator is primarily meant to be used on the command line:

generate-odata-client --inputDir path/to/your/service-specification(s) --outputDir path/where/the/modules/are/stored

Run generate-odata-client --help for further options.

You can also use the generator programatically. You will have to provide the options anyways.

import { generateProject } from '@sap/cloud-sdk-generator';

// initialize generator options based on what you want to do
const options: GeneratorOptions = initializeOptions();

// creates a Project datastructure with all sourcefiles based on your options
const project = generateProject(options);

// here you can modify you project if you need to

// save the files at the specified location
project.save();

// alternatively you can generate and save the project in one step with: generate(options)
1.6.1

4 years ago

1.17.2

4 years ago

1.4.1

4 years ago

1.7.0

4 years ago

1.10.0

4 years ago

1.16.0

4 years ago

1.15.0

4 years ago

1.12.0

4 years ago

1.11.3

4 years ago

1.8.0

4 years ago

1.15.1

4 years ago

1.14.0

4 years ago

1.5.0

4 years ago

1.9.0

4 years ago

1.4.2

4 years ago

1.13.1

4 years ago

1.17.0

4 years ago

1.8.1

4 years ago