Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 894 Bytes

File metadata and controls

18 lines (13 loc) · 894 Bytes

Typescript Fetch Generator

This repository contains a script to generate a typescript-fetch API client for BIMData API using openapi-generator.

You can generate the API client package with the generate-package.sh shell script as follow:

$ ./generate-package.sh <path-to-openapi-generator-jar> <path-to-swagger-json> <package-version>

It will create the API client in the package/ directory.

Script parameters

Param Description Mandatory Default value
$1 Generator jar false ./openapi-generator.jar
$2 Swagger definition file false ./swagger.json
$3 Package version false 0.0.1