swaggo / gin-swagger

gin middleware to automatically generate RESTful API documentation with Swagger 2.0.
MIT License
3.66k stars 266 forks source link

move css and js to seperate files #280

Closed limistah closed 10 months ago

limistah commented 10 months ago

Describe the PR Moved the CSS and JS into separate template files. And using link and style attributes to pull them via HTTP request See #249

Relation issue https://github.com/swaggo/gin-swagger/issues/249

codecov[bot] commented 10 months ago

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (cc12e52) 100.00% compared to head (7606ee4) 100.00%.

:exclamation: Current head 7606ee4 differs from pull request most recent head ee5ed54. Consider uploading reports for the commit ee5ed54 to get more accurate results

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #280 +/- ## ========================================= Coverage 100.00% 100.00% ========================================= Files 1 1 Lines 98 104 +6 ========================================= + Hits 98 104 +6 ``` | [Files Changed](https://app.codecov.io/gh/swaggo/gin-swagger/pull/280?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=swaggo) | Coverage Δ | | |---|---|---| | [swagger.go](https://app.codecov.io/gh/swaggo/gin-swagger/pull/280?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=swaggo#diff-c3dhZ2dlci5nbw==) | `100.00% <100.00%> (ø)` | |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

ubogdan commented 10 months ago

@limistah Thanks for your contribution!