Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

further automate the openapi-to-pyclientlib process #1

Open
marc-portier opened this issue Aug 18, 2022 · 0 comments
Open

further automate the openapi-to-pyclientlib process #1

marc-portier opened this issue Aug 18, 2022 · 0 comments
Assignees

Comments

@marc-portier
Copy link
Member

since all this code is in fact generated we could go the extra mile of having this completely running out of the box

so thinking about having separated branches

  • generated --> holding the vanila code as generated
  • testing --> adding manual specific tests versus some available service implementation

then some githubaction could be made that

  • runs on some cron interval
  • fetching the openapi spec, and checking its validity and version
  • if version is new and spec is valid --> generate new version and push to generated
  • if generation fails --> bail out and notify
  • merge updates into the testing branch
  • run tests, if they fail --> bail out and notify
  • create a new release

@RoryMMMM actually found an action that promises something in this direction: https://github.com/marketplace/actions/generate-client-library-w-the-openapitools-generator

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

No branches or pull requests

2 participants