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 omitempty to all struct fields #297

Merged
merged 1 commit into from
Sep 28, 2024

Conversation

gabriel-samfira
Copy link
Member

The JSON that gets returned by the API is filled with empty values which serve no purpose. Adding omitempty will skip empty values.

The JSON that gets returned by the API is filled with empty values
which serve no purpose. Adding omitempty will skip empty values.

Signed-off-by: Gabriel Adrian Samfira <[email protected]>
@gabriel-samfira gabriel-samfira merged commit cf231c9 into cloudbase:main Sep 28, 2024
4 checks passed
@gabriel-samfira gabriel-samfira deleted the add-omitempty branch September 28, 2024 18:25
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