mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-11-22 11:33:58 +00:00
* Revert "v7.17.0 release (#22248)" This reverts commit 0120486e6207b41cdd18b89eaf25f061ac87195a. * prepare v7.18.0 release * update samples * update doc
Petstore GDScript Testing Client
What
- Godot
4.xproject - Made for
--headlessmode - Returns non-zero exit code upon test failure
- Uses GUT as test engine
Prepare the test server
See https://github.com/OpenAPITools/openapi-generator/wiki/Integration-Tests
We are using the petstore docker, not the echo server for now. Feel free to refactor or duplicate the sample demo to use the new echo server. See
bin/configs/gdscript-petstore.yaml.
Run
godot --headless --debug --path samples/client/petstore/gdscript --script addons/gut/gut_cmdln.gd
The command should return a zero exit code if all tests passed.
You may want to add --verbose for more logs when debugging.
Update
Refresh the generated files, after modifying the gdscript templates or java generator:
bin/generate-samples.sh bin/configs/gdscript-petstore.yaml