servant-auth-token-api 0.5.3.0 → 0.5.4.0
raw patch · 3 files changed
+13/−6 lines, 3 filesdep ~aesondep ~servantdep ~swagger2
Dependency ranges changed: aeson, servant, swagger2
Files
- CHANGELOG.md +5/−0
- servant-auth-token-api.cabal +7/−5
- src/Servant/API/Auth/Token.hs +1/−1
CHANGELOG.md view
@@ -1,3 +1,8 @@+0.5.4.0+=======++* Bump versions for `servant-0.16` and `swagger-2.4`.+ 0.5.3.0 =======
servant-auth-token-api.cabal view
@@ -1,7 +1,8 @@ name: servant-auth-token-api-version: 0.5.3.0+version: 0.5.4.0 synopsis: Servant based API for token based authorisation-description: Please see README.md+description: The package provides cross compiler API (for GHC and GHCJS) for+ <http://hackage.haskell.org/package/servant-auth-token servant-auth-token>. Please see README.md homepage: https://github.com/ncrashed/servant-auth-token-api#readme license: BSD3 license-file: LICENSE@@ -14,6 +15,7 @@ README.md CHANGELOG.md cabal-version: >=1.10+tested-with: GHC ==8.6.5, GHC ==8.4.4 Flag flat-perm-symbols Description: Use flat Symbols for token tags, improve compilation time.@@ -28,14 +30,14 @@ Servant.API.Auth.Token.Internal.Schema build-depends: base >= 4.7 && < 5- , aeson >= 0.11 && < 1.4+ , aeson >= 0.11 && < 1.5 , aeson-injector >= 1.0.4 && < 1.2 , lens >= 4.13 && < 5 , raw-strings-qq >= 1.1 && < 1.2- , servant >= 0.9 && < 0.15+ , servant >= 0.9 && < 0.17 , servant-docs >= 0.9 && < 0.15 , servant-swagger >= 1.1 && < 1.2- , swagger2 >= 2.1 && < 2.3+ , swagger2 >= 2.4 && < 2.5 , text >= 1.2 && < 2 default-language: Haskell2010
src/Servant/API/Auth/Token.hs view
@@ -175,7 +175,7 @@ type Token' (perms :: [Symbol]) = Token (PlainPerms perms) instance ToParamSchema (Token perms) where- toParamSchema _ = mempty { _paramSchemaType = SwaggerString }+ toParamSchema _ = mempty { _paramSchemaType = Just SwaggerString } instance FromHttpApiData (Token perms) where parseUrlPiece = fmap Token . parseUrlPiece