To build from source, you need the following software installed and available in your $PATH:
- Clone the project:
git clone https://github.com/aeternity/openapi-generator &&
cd openapi-generator/ &&
git checkout elixir-adjustment
mvn package- to compile and build Java project.- To generate an
elixirapi client, by providing aswagger.yamlfile, execute the following command:
java -jar modules/openapi-generator-cli/target/openapi-generator-cli.jar generate -i PATH_TO_SWAGGER.yaml -g elixir -o DESTINATION_FOLDER
Notes:
PATH_TO_SWAGGER.yaml- is a path to theswagger.yamlfile, usually this file is located inconfigfolder, and can be found here.DESTINATION_FOLDER- is a path to the folder, where the aeternity node elixir API client will be generated.