Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

E.D.D.I allows the generation of REST clients in various languages via Swagger. This page describes how to generate a client.

Prerequisites

Docker, Docker-Compose, Maven

Client generation

To generate a client, follow these steps:

  1. Checkout the E.D.D.I source repo via 

    No Format
    git clone https://github.com/labsai/EDDI.git
  2. Run

    No Format
    mvn package -pl client -P generate-client -Dclient.lang=<lang>

    where <lang> is the parameter passed to swagger-codegen's generate command - see swagger-codegen on GitHub for more information about the supported languages.

  3. Find the generated client code under client/target/<lang>.