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

feat: add basic swagger generator scaffold #2599

Closed
wants to merge 1 commit into from

Conversation

carlclone
Copy link
Collaborator

Pull Request Description:

Linked Issue: #2532

Summary:
This pull request aims to add Swagger documentation to the codebase. However, it raises the question of whether we should exclude this feature during compile time. It is worth noting that the compiled binary size increases from 44MB to 55MB with the inclusion of this feature.

Changes:

Added Swagger documentation to the codebase.
Concerns:

Should we exclude the Swagger documentation feature during compile time to mitigate the increase in binary size?
Please review and provide feedback on this pull request.

@ngjaying
Copy link
Collaborator

ngjaying commented Feb 1, 2024

We just aim to automatically generate swagger doc for REST API. The tool can be run externally and may be integrated to CI to automate API doc generation. Not to provide an API to generate swagger doc. It seems this PR add a new API endpoint, is it necessary?

@carlclone
Copy link
Collaborator Author

yes , that is better

@carlclone carlclone closed this Feb 19, 2024
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.

2 participants