Skip to content
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

merge fix-49-trailing-slash from upstream #1

Merged
merged 3 commits into from
Jul 27, 2019

Conversation

doug-precocity
Copy link
Owner

No description provided.

When generating Retrofit interfaces, we need to remove the leading
slash from the generated path. Having a leading slash will force
the path to be absolute for the host and will make URLs like:
https://petstore.swagger.io/v2/
impossible to call.

Fixes #49
Remove leading slash if Swagger Spec are specifying a basePath
@doug-precocity doug-precocity merged commit b027a31 into doug-precocity:master Jul 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants