-
Notifications
You must be signed in to change notification settings - Fork 99
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 GHA workflow for generating WebAPI client library for Java #471
base: dev
Are you sure you want to change the base?
Add GHA workflow for generating WebAPI client library for Java #471
Conversation
@danuw I want to hear your opinion especially following topics:
|
|
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.
As per @YaSuenag 's comments we are waiting on a dependency from .net 8 migration changes.
Blocked merge for now
Signed-off-by: Yasumasa Suenaga <[email protected]>
dd32075
to
d0d5e72
Compare
I updated this PR. This refer to .NET 8 migrated WebAPI container, then it works fine on my forked repo. Please review! |
Signed-off-by: Yasumasa Suenaga <[email protected]>
I updated this PR to upload client API doc for Java (aka Javadoc) to |
Pull Request
This is successor of #359
Summary
Add GHA workflow to generate WebAPI client library for Java. This workflow would be triggered when API version in
swagger.yaml
is updated in each release. Client library would be published into GitHub Packages. See my package repo as an example: https://github.com/YaSuenag/carbon-aware-sdk/packages/2078122This PR introduced 3 workflow files:
swagger.yaml
inlatest
container in GitHub Packages4-release.yaml
and workflow dispatch4-release.yaml
if API version is not updated in the releaseAPI document (Javadoc) would be added
client-apidocs
ingh-pages
branch directly. See my repo as an example: https://github.com/YaSuenag/carbon-aware-sdk/tree/gh-pages/client-apidocsIf you want to add another WebAPI clients (JS, Python, .NET, and so on), you need to add new workflow for generating, and add its entry point to
generate-webapi-clients.yaml
.Changes
This PR contains 3 siginificant commits. I left them due to ease of review, but you can squash them when you merge.
Checklist
Are there API Changes?
Clarify API version in
swagger.yaml
. Current version is1.0
(maybe it is default by .NET), new version is1.0.0
.Is this a breaking change?
API version in
swagger.yaml
(1.0
-1.0.0
)Anything else?
config.json
for OpenAPI generator: