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.
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 |