-
Notifications
You must be signed in to change notification settings - Fork 17
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
chore: Python ingress changes #548
Conversation
@@ -49,6 +42,8 @@ public static void setUp() { | |||
public void launchGenerator() { | |||
final String pathname = "examples/spec/twilio_api_v2010.yaml"; | |||
// final String pathname = "examples/twilio_messaging_bulk_v1.yaml"; | |||
// final String pathname = "/Users/stiwari/di/github/twilio-oai/spec/yaml/twilio_messaging_bulk_v1.yaml"; |
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.
left some local references
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.
Oh yeah, I will remove them
Generator.TWILIO_PYTHON, | ||
Generator.TWILIO_RUBY, | ||
Generator.TWILIO_TERRAFORM); | ||
return Arrays.asList(Generator.TWILIO_PYTHON); |
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.
same here
import java.util.Stack; | ||
import java.util.regex.Pattern; | ||
|
||
public class PythonCodegenModelContainerDataTypeResolver extends CodegenModelContainerDataTypeResolver { |
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.
Add javadoc
import java.util.function.BiConsumer; | ||
|
||
// Overriding default behavior and handling the enum | ||
public class PythonCodegenModelDataTypeResolver extends CodegenModelDataTypeResolver { |
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.
import java.util.List; | ||
import java.util.Map; | ||
|
||
public class PythonCodegenModelResolver extends CodegenModelResolver { |
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.
C# tests are failing as sonar requires minimum java 17 version. See this |
|
|
|
|
|
|
The C# tests are passing locally, maybe we can look into updating the sonar config. |
Fixes
A short description of what this PR does.
Checklist
make test-docker
python examples/build_twilio_go.py path/to/twilio-oai/spec/yaml path/to/twilio-go
and inspect the diffmake test
intwilio-go
twilio-go
If you have questions, please create a GitHub Issue in this repository.