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

Automate update of openapi-clients #587

Open
jennydaman opened this issue Oct 7, 2024 · 0 comments
Open

Automate update of openapi-clients #587

jennydaman opened this issue Oct 7, 2024 · 0 comments

Comments

@jennydaman
Copy link
Contributor

Feature request: use GitHub Actions to automatically update https://github.com/FNNDSC/openapi-clients

  • create a GitHub Actions which triggers on release
  • It downloads schema_split.yaml from the current and previous release, comparing them using openapi-diff.
  • If state is either compatible or incompatible, clone https://github.com/FNNDSC/openapi-clients and...
    • increase the value of version.txt according to semantic versioning (minor version increase for compatible, major version increase for incompatible)
    • regenerate all client code
    • create a PR to main branch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant