1
Fork 0
mirror of https://github.com/thegeneralist01/twitter-openapi synced 2026-01-11 15:40:26 +01:00

add launch.json

Signed-off-by: ふぁ <yuki@yuki0311.com>
This commit is contained in:
ふぁ 2023-07-30 18:01:41 +09:00
parent fd5880183b
commit 72ce819505
No known key found for this signature in database
GPG key ID: 83A8A5E74872A8AA
2 changed files with 32 additions and 0 deletions

22
.vscode/launch.json vendored Normal file
View file

@ -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"
}
]
}

10
.vscode/tasks.json vendored Normal file
View file

@ -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"
}
]
}