We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2c359ae commit 78380acCopy full SHA for 78380ac
README.md
@@ -70,3 +70,17 @@ func main() {
70
71

72
73
+Note: If you are using Gzip middleware you should add the swagger endpoint to skipper
74
+
75
+### Example
76
77
+```
78
+e.Use(middleware.GzipWithConfig(middleware.GzipConfig{
79
+ Skipper: func(c echo.Context) bool {
80
+ if strings.Contains(c.Request().URL.Path, "swagger") {
81
+ return true
82
+ }
83
+ return false
84
+ },
85
+ }))
86
0 commit comments