Generate project with openapi generator

This commit is contained in:
2025-05-28 13:56:37 -03:00
parent 79bfdecaf8
commit d3fb88a65d
116 changed files with 36001 additions and 184 deletions

7
scripts/cmake.ps1 Normal file
View File

@ -0,0 +1,7 @@
#!/usr/bin/env sh
# cmake -G "Visual Studio 17 2022" -A x64
# cmake -B build -S . -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++
cmake -G "Unix Makefiles"

View File

@ -5,6 +5,6 @@ java -jar ./vendor/openapi-generator/openapi-generator-cli.jar generate `
-g cpp-restsdk `
-o . `
--global-property apis,models,supportingFiles,apiDocs=false,modelDocs=false,apiTests=false,modelTests=false `
--additional-properties=packageName=tribufu,apiPackage=tribufu::api,modelPackage=tribufu::models `
--additional-properties=packageName=tribufu++,apiPackage=tribufu.api,modelPackage=tribufu.models `
--openapi-normalizer SET_TAGS_FOR_ALL_OPERATIONS=TribufuGenerated `
--skip-validate-spec

View File

@ -1,10 +1,3 @@
#!/usr/bin/env sh
# Linux (x64)
make config=debug_linux-x64
# Linux (x86)
make config=debug_linux-x86
# Linux (arm64)
make config=debug_linux-arm64