diff --git a/mig-swagger-ui.cabal b/mig-swagger-ui.cabal
--- a/mig-swagger-ui.cabal
+++ b/mig-swagger-ui.cabal
@@ -1,45 +1,45 @@
 cabal-version: 1.12
 
--- This file has been generated from package.yaml by hpack version 0.35.2.
+-- This file has been generated from package.yaml by hpack version 0.39.1.
 --
 -- see: https://github.com/sol/hpack
 
-name:               mig-swagger-ui
-version:            0.1.0.1
-synopsis:           Swagger servers for mig library
-description:        Appends swagger servers for mig servers.
-                    Example of the usage. This code adds swagger server which is serverd on path "swagger-ui" to our server
-                    .
-                    > withSwagger def server
-category:           Web
-homepage:           https://github.com/anton-k/mig#readme
-bug-reports:        https://github.com/anton-k/mig/issues
-author:             Anton Kholomiov
-maintainer:         anton.kholomiov@gmail.com
-copyright:          2023 Anton Kholomiov
-license:            BSD3
-license-file:       LICENSE
-build-type:         Simple
+name: mig-swagger-ui
+version: 0.1.1.0
+synopsis: Swagger servers for mig library
+description: Appends swagger servers for mig servers.
+             Example of the usage. This code adds swagger server which is serverd on path "swagger-ui" to our server
+             .
+             > withSwagger def server
+category: Web
+homepage: https://github.com/anton-k/mig#readme
+bug-reports: https://github.com/anton-k/mig/issues
+author: Anton Kholomiov
+maintainer: anton.kholomiov@gmail.com
+copyright: 2023 Anton Kholomiov
+license: BSD3
+license-file: LICENSE
+build-type: Simple
 extra-source-files:
-    README.md
-    index.html.tmpl
-    swagger-ui-dist-5.0.0/favicon-16x16.png
-    swagger-ui-dist-5.0.0/favicon-32x32.png
-    swagger-ui-dist-5.0.0/oauth2-redirect.html
-    swagger-ui-dist-5.0.0/swagger-ui-bundle.js
-    swagger-ui-dist-5.0.0/swagger-ui-bundle.js.map
-    swagger-ui-dist-5.0.0/swagger-ui-es-bundle-core.js
-    swagger-ui-dist-5.0.0/swagger-ui-es-bundle-core.js.map
-    swagger-ui-dist-5.0.0/swagger-ui-es-bundle.js
-    swagger-ui-dist-5.0.0/swagger-ui-es-bundle.js.map
-    swagger-ui-dist-5.0.0/swagger-ui-standalone-preset.js
-    swagger-ui-dist-5.0.0/swagger-ui-standalone-preset.js.map
-    swagger-ui-dist-5.0.0/swagger-ui.css
-    swagger-ui-dist-5.0.0/swagger-ui.css.map
-    swagger-ui-dist-5.0.0/swagger-ui.js
-    swagger-ui-dist-5.0.0/swagger-ui.js.map
-    swagger-ui-dist-5.0.0/swagger-initializer.js
-    swagger-ui-dist-5.0.0/index.css
+  README.md
+  index.html.tmpl
+  swagger-ui-dist-5.0.0/favicon-16x16.png
+  swagger-ui-dist-5.0.0/favicon-32x32.png
+  swagger-ui-dist-5.0.0/oauth2-redirect.html
+  swagger-ui-dist-5.0.0/swagger-ui-bundle.js
+  swagger-ui-dist-5.0.0/swagger-ui-bundle.js.map
+  swagger-ui-dist-5.0.0/swagger-ui-es-bundle-core.js
+  swagger-ui-dist-5.0.0/swagger-ui-es-bundle-core.js.map
+  swagger-ui-dist-5.0.0/swagger-ui-es-bundle.js
+  swagger-ui-dist-5.0.0/swagger-ui-es-bundle.js.map
+  swagger-ui-dist-5.0.0/swagger-ui-standalone-preset.js
+  swagger-ui-dist-5.0.0/swagger-ui-standalone-preset.js.map
+  swagger-ui-dist-5.0.0/swagger-ui.css
+  swagger-ui-dist-5.0.0/swagger-ui.css.map
+  swagger-ui-dist-5.0.0/swagger-ui.js
+  swagger-ui-dist-5.0.0/swagger-ui.js.map
+  swagger-ui-dist-5.0.0/swagger-initializer.js
+  swagger-ui-dist-5.0.0/index.css
 
 source-repository head
   type: git
@@ -47,29 +47,29 @@
 
 library
   exposed-modules:
-      Mig.Swagger
+    Mig.Swagger
   other-modules:
-      Paths_mig_swagger_ui
+    Paths_mig_swagger_ui
   hs-source-dirs:
-      src
+    src
   default-extensions:
-      OverloadedStrings
-      OverloadedRecordDot
-      TemplateHaskell
-      StrictData
+    OverloadedStrings
+    OverloadedRecordDot
+    TemplateHaskell
+    StrictData
   ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wmissing-export-lists -Wmissing-home-modules -Wpartial-fields -Wredundant-constraints -Wunused-packages
   build-depends:
-      aeson
-    , aeson-pretty
-    , base >=4.7 && <5
-    , blaze-html
-    , blaze-markup
-    , bytestring
-    , data-default
-    , file-embed-lzma
-    , http-api-data
-    , lens
-    , mig >=0.2.0.1
-    , openapi3
-    , text
+    aeson,
+    aeson-pretty,
+    base >=4.7 && <5,
+    blaze-html,
+    blaze-markup,
+    bytestring,
+    data-default,
+    file-embed-lzma >=0.1,
+    http-api-data,
+    lens,
+    mig >=0.2.0.1,
+    openapi3,
+    text
   default-language: GHC2021
diff --git a/src/Mig/Swagger.hs b/src/Mig/Swagger.hs
--- a/src/Mig/Swagger.hs
+++ b/src/Mig/Swagger.hs
@@ -114,7 +114,7 @@
                 indexTemplate
 
 swaggerFiles :: [(FilePath, ByteString)]
-swaggerFiles = $(embedRecursiveDir "swagger-ui-dist-5.0.0")
+swaggerFiles = $$(embedRecursiveDir "swagger-ui-dist-5.0.0")
 
 indexTemplate :: Text
-indexTemplate = $(embedText "index.html.tmpl")
+indexTemplate = $$(embedText "index.html.tmpl")
