-
Notifications
You must be signed in to change notification settings - Fork 1
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
Add workflow to generate API client code in tidalapi module #133
Add workflow to generate API client code in tidalapi module #133
Conversation
dfa0cc9
to
ad34e63
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very cool!!! 😎
I will borrow some ideas to iOS later if you don't mind 🙂
This workflow: 1. downloads the latest available release from our openapi fork 2. Runs the generator script to download and merge the schemas and feed them to the generator 3. If it finds changes creates a PR with them
If running the script locally, you might either manually place the jar there, or change this entry to point to the location of your choice.
The tidal-kotlin one was only for development and doesn't exist in the fork anymore
ad34e63
to
6c0986f
Compare
Please do! |
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The other workflows in tidal-sdk-android are already using checkout@v4. It shouldn't be a problem, just fyi for consistency.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no you are right. This should be updated. Thanks!
This PR adds the workflow to re-generate the API code in the
:tidalapi
module.The workflow is (for now) manually triggered. A pull request created by it looks like this.
This workflow: