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

test(client): added dynamic test to assert path params #3029

Merged
merged 1 commit into from
Dec 28, 2023

Conversation

fredbi
Copy link
Contributor

@fredbi fredbi commented Dec 27, 2023

Added a test that constructs a generated client, dynamic untyped server and exercise the stack (in this case, asserting how an escaped path parameter moves across the stack from runtime client to runtime server).

@fredbi
Copy link
Contributor Author

fredbi commented Dec 27, 2023

This issue was so old... Couldn't believe it wasn't working... Now some evidence it does.

@fredbi fredbi marked this pull request as ready for review December 27, 2023 23:37
Added a test that constructs a generated client, dynamic untyped server
and exercise the stack (in this case, asserting how an escaped path
parameter moves across the stack from runtime client to runtime server).

* fixes go-swagger#1083 (asserts was already working)

Signed-off-by: Frederic BIDON <fredbi@yahoo.com>
@fredbi fredbi merged commit 48e57c1 into go-swagger:master Dec 28, 2023
18 checks passed
@fredbi fredbi deleted the repro/1083 branch December 28, 2023 08:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

escaped parameters fail to generate the correct url path when a base path is present.
2 participants