Skip to content

Stub with json response #4

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

Merged
merged 5 commits into from
Mar 17, 2025
Merged

Stub with json response #4

merged 5 commits into from
Mar 17, 2025

Conversation

royhq
Copy link
Owner

@royhq royhq commented Mar 17, 2025

Added possibility to set json response (body and headers):

  • WithRawJSON: sets the raw value of a json in response body.
  • WithJSON: will marhsal the value and use it as response body.

@royhq royhq merged commit 46d01ba into main Mar 17, 2025
1 check passed
@royhq royhq deleted the json-response branch March 17, 2025 00:03
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.

1 participant