git.iko.soy/typeable/swagger2
on master help sign in
Update copyright, insert missing module header docs
ae17e69Nickolay Kudasov
LICENSE+1−1
@@ -1,4 +1,4 @@
1−Copyright (c) 2015, GetShopTV
1+Copyright (c) 2015-2016, GetShopTV
2All rights reserved.
2All rights reserved.
3
3
4Redistribution and use in source and binary forms, with or without
4Redistribution and use in source and binary forms, with or without
src/Data/Swagger.hs+4
@@ -1,4 +1,8 @@
1-- |
1-- |
2+-- Module: Data.Swagger
3+-- Maintainer: Nickolay Kudasov <nickolay@getshoptv.com>
4+-- Stability: experimental
5+--
2-- Swagger™ is a project used to describe and document RESTful APIs.
6-- Swagger™ is a project used to describe and document RESTful APIs.
3--
7--
4-- The Swagger specification defines a set of files required to describe such an API.
8-- The Swagger specification defines a set of files required to describe such an API.
src/Data/Swagger/Declare.hs+6
@@ -2,6 +2,12 @@
2{-# LANGUAGE FlexibleInstances #-}
2{-# LANGUAGE FlexibleInstances #-}
3{-# LANGUAGE FunctionalDependencies #-}
3{-# LANGUAGE FunctionalDependencies #-}
4{-# LANGUAGE MultiParamTypeClasses #-}
4{-# LANGUAGE MultiParamTypeClasses #-}
5+-- |
6+-- Module: Data.Swagger.Declare
7+-- Maintainer: Nickolay Kudasov <nickolay@getshoptv.com>
8+-- Stability: experimental
9+--
10+-- Declare monad transformer and associated functions.
5module Data.Swagger.Declare where
11module Data.Swagger.Declare where
6
12
7import Prelude ()
13import Prelude ()
src/Data/Swagger/Lens.hs+6
@@ -10,6 +10,12 @@
10{-# LANGUAGE UndecidableInstances #-}
10{-# LANGUAGE UndecidableInstances #-}
11{-# OPTIONS_GHC -fno-warn-orphans #-}
11{-# OPTIONS_GHC -fno-warn-orphans #-}
12#include "overlapping-compat.h"
12#include "overlapping-compat.h"
13+-- |
14+-- Module: Data.Swagger.Lens
15+-- Maintainer: Nickolay Kudasov <nickolay@getshoptv.com>
16+-- Stability: experimental
17+--
18+-- Lenses and prisms for Swagger.
13module Data.Swagger.Lens where
19module Data.Swagger.Lens where
14
20
15import Control.Lens
21import Control.Lens
src/Data/Swagger/Operation.hs−2
@@ -1,8 +1,6 @@
1{-# LANGUAGE RankNTypes #-}
1{-# LANGUAGE RankNTypes #-}
2-- |
2-- |
3-- Module: Data.Swagger.Operation
3-- Module: Data.Swagger.Operation
4−-- Copyright: (c) 2015 GetShopTV
5−-- License: BSD3
6-- Maintainer: Nickolay Kudasov <nickolay@getshoptv.com>
4-- Maintainer: Nickolay Kudasov <nickolay@getshoptv.com>
7-- Stability: experimental
5-- Stability: experimental
8--
6--
src/Data/Swagger/ParamSchema.hs−2
@@ -1,7 +1,5 @@
1-- |
1-- |
2-- Module: Data.Swagger.ParamSchema
2-- Module: Data.Swagger.ParamSchema
3−-- Copyright: (c) 2015 GetShopTV
4−-- License: BSD3
5-- Maintainer: Nickolay Kudasov <nickolay@getshoptv.com>
3-- Maintainer: Nickolay Kudasov <nickolay@getshoptv.com>
6-- Stability: experimental
4-- Stability: experimental
7--
5--
src/Data/Swagger/Schema.hs−2
@@ -1,7 +1,5 @@
1-- |
1-- |
2-- Module: Data.Swagger.Schema
2-- Module: Data.Swagger.Schema
3−-- Copyright: (c) 2015 GetShopTV
4−-- License: BSD3
5-- Maintainer: Nickolay Kudasov <nickolay@getshoptv.com>
3-- Maintainer: Nickolay Kudasov <nickolay@getshoptv.com>
6-- Stability: experimental
4-- Stability: experimental
7--
5--
src/Data/Swagger/Schema/Validation.hs−2
@@ -1,7 +1,5 @@
1-- |
1-- |
2-- Module: Data.Swagger.Schema.Validation
2-- Module: Data.Swagger.Schema.Validation
3−-- Copyright: (c) 2015 GetShopTV
4−-- License: BSD3
5-- Maintainer: Nickolay Kudasov <nickolay@getshoptv.com>
3-- Maintainer: Nickolay Kudasov <nickolay@getshoptv.com>
6-- Stability: experimental
4-- Stability: experimental
7--
5--
src/Data/Swagger/SchemaOptions.hs+6
@@ -1,3 +1,9 @@
1+-- |
2+-- Module: Data.Swagger.SchemaOptions
3+-- Maintainer: Nickolay Kudasov <nickolay@getshoptv.com>
4+-- Stability: experimental
5+--
6+-- Generic deriving options for @'ToParamSchema'@ and @'ToSchema'@.
1module Data.Swagger.SchemaOptions where
7module Data.Swagger.SchemaOptions where
2
8
3-- | Options that specify how to encode your type to Swagger schema.
9-- | Options that specify how to encode your type to Swagger schema.
swagger2.cabal+1−1
@@ -8,7 +8,7 @@ license: BSD3
8license-file: LICENSE
8license-file: LICENSE
9author: Nickolay Kudasov
9author: Nickolay Kudasov
10maintainer: nickolay@getshoptv.com
10maintainer: nickolay@getshoptv.com
11−copyright: (c) 2015, GetShopTV
11+copyright: (c) 2015-2016, GetShopTV
12category: Web
12category: Web
13build-type: Simple
13build-type: Simple
14extra-source-files:
14extra-source-files: