ch-api-client-typescript

4.4.0 • Public • Published

ch-api-client-typescript

usage:

import { CountriesApi, CountryItemViewModel } from './out/api'; import { Configuration } from './out/configuration';

const models :CountryItemViewModel[] = [];

const config = new Configuration({ basePath: 'https://api-int.icloudhospital.com/' })
let result = new CountriesApi(config).apiV1CountriesGet().then(d => console.log(d.data.items.map(t => t.name)))

!!! instal openapi-generator 4.3.1 npm install @openapitools/openapi-generator-cli

!!! to change openapi-generator version openapi-generator-cli version-manager list select appropriate version

!!! generate client sdk with following command openapi-generator-cli generate -g typescript-axios -o src -i https://api-int.icloudhospital.com/swagger/v1/swagger.json --type-mappings=DateTime=Date

!!! run build to compile an generate js files npm run build

!!! commit to main branch

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
4.4.02latest

Version History

VersionDownloads (Last 7 Days)Published
4.4.02
4.3.92
4.3.81
4.3.71
4.3.60
4.3.50
4.3.41
4.3.30
4.3.20
4.3.11
4.2.102
4.2.90
4.2.81
4.2.73
4.2.61
4.2.52
4.2.40
4.2.30
4.2.20
4.2.10
4.1.91
4.1.80
4.1.70
4.1.62
4.1.51
3.5.80
3.5.70
3.5.52
3.5.43
3.5.30
3.5.22
3.5.10
3.5.01
3.4.92
3.4.81
3.4.73
3.3.60
3.3.52
3.3.40
3.3.33
3.3.22
3.3.10
3.3.03
3.2.73
3.2.42
3.2.20
3.2.10
3.2.00
3.1.50
3.1.43
3.1.32
3.1.21
3.1.13
3.1.03
3.0.32
3.0.23
2.9.90
2.9.80
2.9.70
2.9.60
2.9.52
2.9.40
2.9.31
2.9.22
2.9.03
2.8.202
2.8.190
2.8.181
2.8.170
2.8.131
2.8.120
2.8.111
2.8.100
2.8.92
2.8.82
2.8.71
2.8.63
2.8.50
2.8.40
2.8.31
2.8.20
2.8.11
2.8.01
2.7.93
2.7.82
2.7.62
2.7.51
2.7.43
2.7.30
2.7.23
2.7.13
2.7.02
2.6.90
2.6.82
2.6.70
2.6.62
2.6.50
2.6.33
2.6.23
2.6.10
2.6.02
2.5.92
2.5.81
2.5.71
2.5.51
2.5.40
2.5.33
2.5.20
2.5.10
2.5.02
2.4.93
2.4.80
2.4.70
2.4.50
2.4.41
2.4.31
2.4.12
2.4.02
2.3.93
2.3.82
2.3.72
2.3.61
2.3.53
2.3.42
2.3.23
2.2.181
2.2.160
2.2.143
2.2.121
2.2.101
2.2.83
2.2.60
2.2.40
2.2.13
2.1.91
2.1.82
2.1.73
2.1.60
2.1.52
2.1.41
2.1.31
2.1.21
2.1.12
2.1.02
2.0.81
2.0.51
2.0.41
2.0.32
2.0.23
2.0.13
1.9.90
1.9.80
1.9.70
1.9.62
1.9.52
1.9.40
1.9.33
1.9.20
1.9.13
1.8.90
1.8.82
1.8.70
1.8.63
1.8.51
1.8.42
1.8.30
1.8.22
1.8.12
1.8.01
1.7.92
1.7.81
1.7.73
1.7.62
1.7.51
1.7.41
1.7.32
1.7.20
1.7.10
1.7.01
1.6.90
1.6.82
1.6.72
1.6.62
1.6.50
1.6.43
1.6.31
1.6.21
1.6.13
1.6.00
1.5.90
1.5.83
1.5.62
1.5.51
1.5.42
1.5.32
1.5.23
1.5.11
1.5.03
1.4.90
1.4.82
1.4.70
1.4.61
1.4.50
1.4.40
1.4.33
1.4.20
1.4.10
1.4.01
1.3.90
1.3.81
1.3.73
1.3.50
1.3.40

Package Sidebar

Install

npm i ch-api-client-typescript

Weekly Downloads

273

Version

4.4.0

License

ISC

Unpacked Size

67 kB

Total Files

30

Last publish

Collaborators

  • cloudhospital