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)", | ||
"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.", | ||
"You may obtain a copy of the License at", | ||
"http://www.apache.org/licenses/LICENSE-2.0", | ||
"Unless required by applicable law or agreed to in writing, software", | ||
"distributed under the License is distributed on an \"AS IS\" BASIS,", | ||
"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" | ||
], | ||
"ARF - Augmented Reality Framework (ETSI ISG ARF)", | ||
"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.", | ||
"You may obtain a copy of the License at", | ||
"http://www.apache.org/licenses/LICENSE-2.0", | ||
"Unless required by applicable law or agreed to in writing, software", | ||
"distributed under the License is distributed on an \"AS IS\" BASIS,", | ||
"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", | ||
"version": "0.0.1", | ||
"description": "ISG ARF World Storage Cpp Server", | ||
"main": "index.js", | ||
"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", | ||
"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