-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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 Java configuration for Swagger to SDK bot #2290
Conversation
@lmazuel Merge conflicts resolved. Please take a look. Thanks! |
@daschult Hum, conflicts are back :( |
@daschult LGTM, I merge it to avoid more conflicts, we can refine it later anyway. Thanks!! |
Hi There, I am the AutoRest Linter Azure bot. I am here to help. My task is to analyze the situation from the AutoRest linter perspective. Please review the below analysis result: File: File: File: File: File: File: File: File: File: File: File: File: File: File: File: File: File: File: File: File: File: File: File: File: File: File: File: File: File: File: File: File: File: File: File: File: File: File: File: File: File: File: File: File: File: File: File: File: File: File: File: File: File: File: File: File: File: File: File: File: File: File: File: File: File: File: File: File: File: File: File: File: File: File: File: File: File: File: File: File: File: File: File: File: File: File: File: File: File: File: File: File: File: File: File: File: File: File: File: File: File: File: AutoRest Linter Guidelines | AutoRest Linter Issues | Send feedback Thanks for your co-operation. |
Swagger to SDK encountered an unknown error: (Azure/azure-sdk-for-go)
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/swaggertosdk/github_tools.py", line 29, in exception_to_github
yield context
File "/usr/local/lib/python3.6/dist-packages/swaggertosdk/restapi/github.py", line 180, in rest_handle_action
return rest_pull_close(body, github_con, restapi_repo, sdk_pr_target_repo, sdkbase)
File "/usr/local/lib/python3.6/dist-packages/swaggertosdk/restapi/github.py", line 311, in rest_pull_close
rest_pr.create_issue_comment("Was unable to create SDK %s PR for this closed PR.", sdkid)
TypeError: create_issue_comment() takes 2 positional arguments but 3 were given |
I appreciate the changes being done here for Java to catch up with Python but this has broken the code generation for the Java SDK. If I'm understanding it correctly, an extra required parameter is added here for Java code generation: https://github.com/Azure/azure-rest-api-specs/blob/master/specification/storage/resource-manager/readme.md#java, while I think it will be nice to make As a matter of fact, I'm a little concerned about service teams that own their own data plane Java SDKs. Despite the vision we might want to bring them all together, which is another debate, most of them will want to specify Also, I'd recommend |
The Azure REST API Specs portion of onboarding the Java SDK to be generated by the
Swagger -> SDK
bot.