Skip to content
This repository was archived by the owner on Jun 24, 2022. It is now read-only.

Swagger-codegen library #48

Merged
merged 28 commits into from
Jan 2, 2018
Merged

Swagger-codegen library #48

merged 28 commits into from
Jan 2, 2018

Conversation

meliaj
Copy link
Contributor

@meliaj meliaj commented Sep 20, 2017

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 :(

@meliaj meliaj requested a review from kvigen September 20, 2017 23:31
Copy link

@kvigen kvigen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

@meliaj
Copy link
Contributor Author

meliaj commented Dec 27, 2017

@kvigen I updated this for 2.0. Want to give it another look?

Copy link

@kvigen kvigen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

@@ -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))
Copy link

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?

Copy link
Contributor Author

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

@meliaj meliaj merged commit f2c31bd into master Jan 2, 2018
@meliaj meliaj deleted the swaggered branch January 2, 2018 21:36
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants