mig-swagger-ui 0.1.0.0 → 0.1.0.1
raw patch · 2 files changed
+5/−4 lines, 2 filesdep ~migPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: mig
API changes (from Hackage documentation)
Files
- mig-swagger-ui.cabal +2/−2
- src/Mig/Swagger.hs +3/−2
mig-swagger-ui.cabal view
@@ -5,7 +5,7 @@ -- see: https://github.com/sol/hpack name: mig-swagger-ui-version: 0.1.0.0+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@@ -69,7 +69,7 @@ , file-embed-lzma , http-api-data , lens- , mig >=0.2+ , mig >=0.2.0.1 , openapi3 , text default-language: GHC2021
src/Mig/Swagger.hs view
@@ -53,8 +53,9 @@ , version :: Text } --- | Adds most common used info to OpenApi schema. Use this function--- in the @mapSchema@ field of the @SwaggerConfig@.+{-| Adds most common used info to OpenApi schema. Use this function+in the @mapSchema@ field of the @SwaggerConfig@.+-} addDefaultInfo :: DefaultInfo -> OpenApi -> OpenApi addDefaultInfo appInfo = OA.info