ionos-cloud / sdk-nodejs

Apache License 2.0
1 stars 0 forks source link

Wrong documentation / example in readme #5

Closed DanielRuf closed 1 year ago

DanielRuf commented 2 years ago

Description

The example code form the readme thows TypeError: sdk.DataCenterApi is not a constructor

Expected behavior

It should work.

Environment

not relevant

Node version: not relevant

SDK version:

6.1.1

OS: not relevant

Configuration Files

not relevant

How to Reproduce

Use the code example from the readme.

DanielRuf commented 2 years ago

Should probably be "DataCentersApi" - mind the extra "s" before "Api".

The file was renamed there: https://github.com/ionos-cloud/sdk-nodejs/commits/master/api/data-centers-api.ts

DanielRuf commented 2 years ago

Looks like all these md files with a lowercase filename are from the v5 API and should be removed for v6:

grafik