diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..dbb6544 --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,22 @@ +{ + "version": "0.2.0", + "configurations": [ + { + "name": "Python: Build", + "type": "python", + "request": "launch", + "program": "tools/build.py", + "console": "integratedTerminal", + "justMyCode": false + }, + { + "name": "Python: Test OpenAPI Serialize", + "type": "python", + "request": "launch", + "program": "test/python/test_serialize.py", + "console": "integratedTerminal", + "justMyCode": false, + "preLaunchTask": "build" + } + ] +} diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 0000000..5edb68e --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,10 @@ +{ + "version": "2.0.0", + "tasks": [ + { + "label": "build", + "type": "shell", + "command": "python3 tools/build.py && java -jar openapi-generator-cli.jar generate -c test/python/openapi-generator-config.yaml -g python && python3 -m pip install ./python_generated" + } + ] +}