Skip to content

Commit 6ef4632

Browse files
committed
Remove source-repository-package
1 parent 9b2a862 commit 6ef4632

File tree

2 files changed

+3
-11
lines changed

2 files changed

+3
-11
lines changed

cabal.project

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,3 @@ packages:
22
servant-openapi3.cabal,
33
example/example.cabal
44
tests: true
5-
6-
source-repository-package
7-
type: git
8-
location: https://github.com/haskell-servant/servant
9-
tag: servant-0.20.3.0
10-
subdir:
11-
./servant
12-
./servant-server
13-
./servant-client
14-
./servant-client-core

src/Servant/OpenApi/Internal.hs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,12 @@ import Servant.API
3939
import Servant.API.Description (FoldDescription, reflectDescription)
4040
import Servant.API.Modifiers (FoldRequired)
4141
import Servant.OpenApi.Internal.TypeLevel.API
42-
import Servant.API.MultiVerb
4342
import Data.Kind (Type)
4443
import Servant.API.ContentTypes (AllMime, allMime)
44+
#if MIN_VERSION_servant(0,20,3)
4545
import qualified Servant.Server.Internal.ResponseRender as Server
46+
import Servant.API.MultiVerb
47+
#endif
4648
import qualified Data.Maybe as List
4749

4850
-- | Generate a OpenApi specification for a servant API.

0 commit comments

Comments
 (0)