1.17.0 • Published 5 years ago
@sap/cloud-sdk-vdm-sap-graph v1.17.0
Package for generating the SAP Graph services
This is currently not release ready. excluded in mail.ts.
If you want to generate the VDM run npx run generate in the vdm-sap-graph package.
There is also a test for calling the generated API.
Infos on SAP Graph API
The openapi.json files are found here. For the moment we just copied them to the repo. A more sophisticated approach would be useful in the future.
If you want to generate the VDM run npx run generate in the vdm-sap-graph package.
There is also a test for calling the generated API.
Questions to SAP Graph API Team
- If you add the option
'--additional-properties=withSeparateModelsAndApi=true'and you have the templates enables, the model files are empty. Most likely there is no template found for the type. - Arrays of objects have type Object and then the data in a parameter. Is this on purpose? Tradeoff?
- The related entities e.g. SalesOrder<->SalesOrderItem are not represented as links. We would expect this from graph. Swagger Links Docu Example Links in schema
- The quotes generation failed, needed to switch
--skip-validate-specto make the generator do it
1.17.0
5 years ago