force the use of version 6.6.0 of openapi-generator-cli due to a bug since...
force the use of version 6.6.0 of openapi-generator-cli due to a bug since version 7 (https://github.com/OpenAPITools/openapi-generator/issues/16711)
parent
5e3ba0f2
No related branches found
No related tags found
{ | { | ||
"//": [ | "//": [ | ||
"ARF - Augmented Reality Framework (ETSI ISG ARF)", | "ARF - Augmented Reality Framework (ETSI ISG ARF)", | ||
"Copyright 2022 ETSI", | |||
"Copyright 2022 ETSI", | "Licensed under the Apache License, Version 2.0 (the \"License\");", | ||
"you may not use this file except in compliance with the License.", | |||
"Licensed under the Apache License, Version 2.0 (the \"License\");", | "You may obtain a copy of the License at", | ||
"you may not use this file except in compliance with the License.", | "http://www.apache.org/licenses/LICENSE-2.0", | ||
"You may obtain a copy of the License at", | "Unless required by applicable law or agreed to in writing, software", | ||
"distributed under the License is distributed on an \"AS IS\" BASIS,", | |||
"http://www.apache.org/licenses/LICENSE-2.0", | "WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.", | ||
"See the License for the specific language governing permissions and", | |||
"Unless required by applicable law or agreed to in writing, software", | "limitations under the License.", | ||
"distributed under the License is distributed on an \"AS IS\" BASIS,", | "Last change: June 2022" | ||
"WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.", | ], | ||
"See the License for the specific language governing permissions and", | |||
"limitations under the License.", | |||
"Last change: June 2022" | |||
], | |||
"name": "worldstorageserver", | "name": "worldstorageserver", | ||
"version": "0.0.1", | "version": "0.0.1", | ||
"description": "ISG ARF World Storage Cpp Server", | "description": "ISG ARF World Storage Cpp Server", | ||
"main": "index.js", | "main": "index.js", | ||
"scripts": { | "scripts": { | ||
"generate": "cd EtsiServerGen && npx @openapitools/openapi-generator-cli generate -i ../arf005/API/openapi.yaml -g cpp-pistache-server -o .", | "generate": "cd EtsiServerGen && npx @openapitools/openapi-generator-cli version-manager set 6.6.0 && npx @openapitools/openapi-generator-cli generate -i ../arf005/API/openapi.yaml -g cpp-pistache-server -o .", | ||
"dependencies": "cp -a ./nlohmann ./EtsiServerGen/model && sudo add-apt-repository ppa:pistache+team/unstable && sudo apt update && sudo apt install libpistache-dev", | "dependencies": "cp -a ./nlohmann ./EtsiServerGen/model && sudo add-apt-repository ppa:pistache+team/unstable && sudo apt update && sudo apt install libpistache-dev", | ||
"build": "cd EtsiServerGen && mkdir -p build && cd build && cmake .. && sudo make install" | "build": "cd EtsiServerGen && mkdir -p build && cd build && cmake .. && sudo make install" | ||
}, | |||
"devDependencies": { | |||
"@openapitools/openapi-generator-cli": "^2.4.23" | |||
} | } | ||
} | } |
Please register or sign in to comment