Apache Fineract supports client code generation using Swagger Codegen. Project supports all clients supported by Swagger Codegen. It uses OpenAPI Specification Version 3.0.3.
In root directory of the project:
- Run
./gradlew build
- Run
./gradlew generateSwaggerCode
The client code will be generated under build/swagger-code-fineract
- Run
cd build/swagger-code-fineract
- Run
./gradlew build
Swagger Codegen provides several options to customize the generated code. Here are the options available for customization.
- Open
fineract-provider/config/swagger/config.json
- Customize options
- Build the project again as mentioned in Generate API Client Code section