feat: add runtime embedded UI assets#10
Merged
Merged
Conversation
- introduce dedicated embedded provider packages and embedded assets handlers - bundle static UI files locally, including favicon assets for embed mode - update embed-mode docs rendering to use local asset paths for favicons - add/expand tests for embedded handlers and template error paths - update framework examples to register assets routes when assets are enabled
Codecov Report❌ Patch coverage is 📢 Thoughts on this report? Let us know! |
…tests across swaggerui/redoc/scalar/rapidoc/stoplight
912158a to
3fbad8f
Compare
…quality - Add missing return after renderError in SpecIOFS branch (spec.go) to prevent response body corruption on error - Propagate file.Close() errors instead of silently discarding them - Rename ReDoc.DisableSearch to HideSearch for consistency with all other providers (Scalar, RapiDoc, StoplightElements) - Add doc comments to all WithUI functions across CDN and embedded provider packages - Update CLAUDE.md to reflect current top-level provider package structure and embedded asset variants - Fix README: stale DisableSearch field, missing config imports in provider examples, missing WithSpecGenerator option in options table, and remove incorrect default provider comment
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.