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

Housekeeping: Update swagger UI #1711

Merged
merged 1 commit into from
Jul 18, 2024
Merged

Housekeeping: Update swagger UI #1711

merged 1 commit into from
Jul 18, 2024

Conversation

lovromazgon
Copy link
Member

@lovromazgon lovromazgon commented Jul 18, 2024

Description

This PR updates Swagger UI to the latest distribution in the official repo. Additionally, it removes the JS mapping files *.js.map to decrease the size of the UI, the difference is roughly 14M.

(main) $ du -hs pkg/web/openapi/swagger-ui/
 18M	pkg/web/openapi/swagger-ui/

(lovro/update-swagger-ui) $ du -hs pkg/web/openapi/swagger-ui/
 4.0M	pkg/web/openapi/swagger-ui/

Quick checks:

  • I have followed the Code Guidelines.
  • There is no other pull request for the same update/change.
  • I have written unit tests. (tested manually)
  • I have made sure that the PR is of reasonable size and can be easily reviewed.

@lovromazgon lovromazgon requested a review from a team as a code owner July 18, 2024 17:22
Copy link
Contributor

@hariso hariso left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@lovromazgon lovromazgon merged commit fab3ab9 into main Jul 18, 2024
4 checks passed
@lovromazgon lovromazgon deleted the lovro/update-swagger-ui branch July 18, 2024 17:36
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