Skip to content

Safer URL/Query generation - #93

Merged
1 commit merged into
oapi-codegen:masterfrom
jmcnevin:path_cleaning
Nov 15, 2019
Merged

1 commit merged into
oapi-codegen:masterfrom
jmcnevin:path_cleaning

Conversation

@jmcnevin

Copy link
Copy Markdown
Contributor

In attempting to fix #91, I have modified the client templates to lean on the "net/url" and "path" packages to create URLs and query strings that are as close to correct as possible.

Could use more robust testing.

Leans on url and path libraries to ensure we are creating URLs that are
as correct as possible.
@ghost
ghost merged commit f4574ba into oapi-codegen:master Nov 15, 2019
@ghost

ghost commented Nov 15, 2019

Copy link
Copy Markdown

Thank you.

adrianpk pushed a commit to foorester/oapi-codegen that referenced this pull request Jan 16, 2024
Leans on url and path libraries to ensure we are creating URLs that are
as correct as possible.
This pull request was closed.
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.

Clean up double-slashes in URLs

1 participant