Skip to content

✨ Extend the code generator for JobItems#75

Merged
aorabdel merged 12 commits intomainfrom
client_generator
Mar 25, 2025
Merged

✨ Extend the code generator for JobItems#75
aorabdel merged 12 commits intomainfrom
client_generator

Conversation

@aorabdel
Copy link
Copy Markdown
Contributor

Description

This change refactors the generator to be able to handle multiple types of generation, and extends it with a new type for JobItems, which are schemas that have the property x-job: true.

The code generated for the the JobItems implements missing methods that would make these JobItem types satisfy the IAsynchronousJob interface defined here.

  • This change is covered by existing or additional automated tests.
  • Manual testing has been performed (and evidence provided) as automated testing was not feasible.
  • Additional tests are not required for this change (e.g. documentation update).

@aorabdel aorabdel changed the title ✨ Extend code generator for JobItems ✨ Extend the code generator for JobItems Mar 25, 2025
Comment thread generator/cmd/root.go
Comment thread generator/codegen/jobitem_extension.go Outdated
Comment thread generator/codegen/jobitem_extension.go Outdated
@aorabdel aorabdel merged commit 304f38b into main Mar 25, 2025
7 checks passed
@aorabdel aorabdel deleted the client_generator branch March 25, 2025 19:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants