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

Add patch() Method with URL in WireMock HTTP client #2261

Merged
merged 1 commit into from
Jul 17, 2023
Merged

Add patch() Method with URL in WireMock HTTP client #2261

merged 1 commit into from
Jul 17, 2023

Conversation

Joel-Schaltenbrand
Copy link
Contributor

In the original code, there was no 'patch' method available in the WireMock class. I added the 'patch' method, which allows creating a mapping from a url-string for HTTP PATCH requests.

(New PR because the old one was closed due to accidental deletion of the fork.)

References

  • Already existing code for the other methods (Get, Post, Put etc.)

Submitter checklist

  • The PR request is well described and justified, including the body and the references
  • The PR title represents the desired changelog entry
  • The repository's code style is followed (see the contributing guide)
  • Test coverage that demonstrates that the change works as expected
  • For new features, there's necessary documentation in this pull request or in a subsequent PR to wiremock.org

Copy link
Member

@oleg-nenashev oleg-nenashev left a comment

Choose a reason for hiding this comment

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

No need in the test IMHO

@oleg-nenashev oleg-nenashev merged commit 7a9b77e into wiremock:master Jul 17, 2023
7 checks passed
@oleg-nenashev oleg-nenashev changed the title Added patch Method with URL in WireMock.java Add patch Method with URL in WireMock.java Jul 17, 2023
@oleg-nenashev oleg-nenashev changed the title Add patch Method with URL in WireMock.java Add patch Method with URL in WireMock HTTP client Jul 17, 2023
@oleg-nenashev oleg-nenashev changed the title Add patch Method with URL in WireMock HTTP client Add patch() Method with URL in WireMock HTTP client Jul 17, 2023
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.

None yet

2 participants