Closed aaravm closed 3 months ago
This pull request adds autogenerated models for the Task Execution Service (TES) and Service Info APIs. It includes a shell script to automate the model generation process and adds the generated Rust code for various data structures and enums used in these APIs.
Files | Changes |
---|---|
utils/script.sh |
Added a shell script (utils/script.sh) to generate OpenAPI models |
lib/src/tes/models/tes_service_info.rs lib/src/tes/models/tes_task.rs lib/src/tes/models/service.rs lib/src/tes/models/tes_state.rs lib/src/tes/models/tes_executor.rs lib/src/tes/models/tes_resources.rs lib/src/tes/models/tes_input.rs lib/src/tes/models/tes_task_log.rs lib/src/tes/models/tes_output.rs lib/src/tes/models/tes_service_type.rs lib/src/tes/models/tes_executor_log.rs lib/src/tes/models/tes_file_type.rs lib/src/tes/models/service_type.rs lib/src/tes/models/tes_output_file_log.rs lib/src/tes/models/service_organization.rs lib/src/tes/models/tes_list_tasks_response.rs lib/src/tes/models/mod.rs lib/src/tes/models/tes_create_task_response.rs |
Added autogenerated models for the Task Execution Service (TES) API |
lib/src/serviceinfo/models/service.rs lib/src/serviceinfo/models/service_type.rs lib/src/serviceinfo/models/service_organization.rs lib/src/serviceinfo/models/mod.rs |
Added autogenerated models for the Service Info API |
utils/build-models.sh |
Added a build script to automate the model generation process |
Ok, I have moved transport
and configuration
to utils
folder, and moved tes
and serviceinfo
to a clients
folder in further PRs.
@uniqueg, I have merged #30, and have moved the structs to a utils
folder in this PR, and moved the models to clients
, since the comment regarding changing folders is mentioned here. I think this PR is ready to be merged.
This PR contains all the autogenerated models created by running the script in the #27 This PR doesn't contain any manually written code, and everything is autogenerated
Summary by Sourcery
Add autogenerated models for the Task Execution Service (TES) API and GA4GH service-info API. Introduce scripts to automate the generation of these models from OpenAPI specifications.
New Features:
Enhancements: