Commit 8bd6dc37 authored by Jerome Royan's avatar Jerome Royan
Browse files

fix: uniqueItem for array reactivated: Work around found to use std::vector...

fix: uniqueItem for array reactivated: Work around found to use std::vector instead of std::set in that case: --type-mappings=set=std::vector
parent ccd2f9d2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -18,7 +18,7 @@
  "description": "ISG ARF World Storage Cpp Server",
  "main": "index.js",
  "scripts": {
    "generate": "cd EtsiServerGen && java -jar /usr/local/lib/node_modules/@openapitools/openapi-generator-cli/versions/7.5.0.jar generate -i ../arf005/API/worldstorage/worldstorageopenapi.yaml --skip-validate-spec  -g cpp-restbed-server -o . && cd patches && ./applyPatches.sh",
    "generate": "cd EtsiServerGen && java -jar /usr/local/lib/node_modules/@openapitools/openapi-generator-cli/versions/7.5.0.jar generate -i ../arf005/API/worldstorage/worldstorageopenapi.yaml --skip-validate-spec --type-mappings=set=std::vector -g cpp-restbed-server -o . && cd patches && ./applyPatches.sh",
    "build": "cd EtsiServerGen && conan install . --build=missing && cd build && cmake .. --preset conan-release && cd Release && cmake --build . && sudo make install"    
  },
  "devDependencies": {