Skip to content

Skip unexported struct fields in swaggergen#841

Open
de1acr0ix wants to merge 1 commit intobeego:developfrom
de1acr0ix:skip-fields-not-exported
Open

Skip unexported struct fields in swaggergen#841
de1acr0ix wants to merge 1 commit intobeego:developfrom
de1acr0ix:skip-fields-not-exported

Conversation

@de1acr0ix
Copy link
Contributor

Go JSON serialization only handles exported struct fields. Therefore we can skip the unexported fields for swagger document generation.

Go JSON serialization only handles exported struct fields.
@de1acr0ix
Copy link
Contributor Author

@flycash Can you please review this PR? Thanks!

Baihhh pushed a commit to Baihhh/bee that referenced this pull request Jul 5, 2023
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