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

zed serve: Add -defaultfmt flag #4379

Merged
merged 2 commits into from
Feb 16, 2023
Merged

zed serve: Add -defaultfmt flag #4379

merged 2 commits into from
Feb 16, 2023

Conversation

mattnibs
Copy link
Collaborator

Allow users to specify the default zed format response for requests without a specified accept-type header.

Closes #4184

Allow users to specify the default zed format response for requests
without a specified accept-type header.

Closes #4184
@mattnibs mattnibs requested a review from a team February 14, 2023 16:14
service/core.go Outdated Show resolved Hide resolved
service/core.go Outdated Show resolved Hide resolved
cmd/zed/serve/command.go Outdated Show resolved Hide resolved
@mattnibs mattnibs force-pushed the default-zed-fmt branch 2 times, most recently from 16ce262 to 473d6fd Compare February 14, 2023 22:28
@mattnibs mattnibs merged commit 82bdb7a into main Feb 16, 2023
@mattnibs mattnibs deleted the default-zed-fmt branch February 16, 2023 03:11
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.

Configurable default format for API responses
2 participants