Skip to content
Snippets Groups Projects
Commit 65ce26f5 authored by Jerome Royan's avatar Jerome Royan
Browse files

Update readme

parent eb4dbfe5
No related branches found
No related tags found
2 merge requests!6Correction of many fixes,!5force the use of version 6.6.0 of openapi-generator-cli due to a bug since...
...@@ -33,6 +33,7 @@ It also contains a sample using that library, it's a basic implementation allowi ...@@ -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: ...@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment