Commit 65ce26f5 authored by Jerome Royan's avatar Jerome Royan
Browse files

Update readme

parent eb4dbfe5
Loading
Loading
Loading
Loading
+11 −0
Original line number Original line Diff line number Diff line
@@ -33,6 +33,7 @@ It also contains a sample using that library, it's a basic implementation allowi
- CMake > 2.22
- CMake > 2.22
- conan V2
- conan V2
- npm
- npm
- openapi-generator-cli version 7.5.0


## Install or update cmake
## Install or update cmake
To install the last version of Cmake, we recommend to follow the instruction detailed on the following link (Using APT Repositories): https://askubuntu.com/questions/355565/how-do-i-install-the-latest-version-of-cmake-from-the-command-line
To install the last version of Cmake, we recommend to follow the instruction detailed on the following link (Using APT Repositories): https://askubuntu.com/questions/355565/how-do-i-install-the-latest-version-of-cmake-from-the-command-line
@@ -55,6 +56,16 @@ To setup your conan profile, run:


Conan is installed on your machine, you are ready to generate the cpp code for RestBed server.
Conan is installed on your machine, you are ready to generate the cpp code for RestBed server.


## Instal openapi-generator-cli

First, install openapi-generator-cli with npm:

    npm install @openapitools/openapi-generator-cli -g

Then, set its version to 7.5.0:

    openapi-generator-cli version-manager set 7.5.0   

## Code Generation
## Code Generation


To generate the code and the DLLs use the following commands:
To generate the code and the DLLs use the following commands: