Skip to content

OpenAPI Generator allows generation of API client libraries (SDK generation), server stubs, documentation and configuration automatically given an OpenAPI Spec (v2, v3)

License

Notifications You must be signed in to change notification settings

aeternity/openapi-generator

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenAPI Generator

Prerequisities

To build from source, you need the following software installed and available in your $PATH:

Running script

  1. Clone the project:
  git clone https://github.com/aeternity/openapi-generator &&
  cd openapi-generator/ &&
  git checkout elixir-adjustment
  1. mvn package - to compile and build Java project.
  2. To generate an elixir api client, by providing a swagger.yaml file, 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 the swagger.yaml file, usually this file is located in config folder, and can be found here.
  • DESTINATION_FOLDER - is a path to the folder, where the aeternity node elixir API client will be generated.

About

OpenAPI Generator allows generation of API client libraries (SDK generation), server stubs, documentation and configuration automatically given an OpenAPI Spec (v2, v3)

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 80.2%
  • Shell 8.0%
  • JavaScript 2.6%
  • TypeScript 2.3%
  • PHP 1.6%
  • Batchfile 1.4%
  • Other 3.9%