-
Notifications
You must be signed in to change notification settings - Fork 15
Swagger-codegen library #48
Conversation
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.
lgtm!
@kvigen I updated this for 2.0. Want to give it another look? |
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.
lgtm!
clever/api_client.py
Outdated
@@ -121,7 +121,7 @@ def __call_api(self, resource_path, method, | |||
for k, v in path_params: | |||
# specified safe chars, encode everything | |||
resource_path = resource_path.replace( | |||
'{%s}' % k, quote(str(v), safe=config.safe_chars_for_path_param)) |
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.
this isn't clever-specific, right? i wonder if we should try to fix this upstream?
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.
I'm not sure this is even a real thing... But it existed before so I'm keeping up the behavior
Generated library from our swagger api file for v1.2.
Added in logic to handle our event types and a test for this.
Also ported over a test for handling unicode characters since this came up recently.
Major version bump.
This made me realize we had a CLI which is now gone :(