File tree Expand file tree Collapse file tree 2 files changed +3
-11
lines changed Expand file tree Collapse file tree 2 files changed +3
-11
lines changed Original file line number Diff line number Diff line change @@ -2,13 +2,3 @@ packages:
2
2
servant-openapi3.cabal,
3
3
example/example.cabal
4
4
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
Original file line number Diff line number Diff line change @@ -39,10 +39,12 @@ import Servant.API
39
39
import Servant.API.Description (FoldDescription , reflectDescription )
40
40
import Servant.API.Modifiers (FoldRequired )
41
41
import Servant.OpenApi.Internal.TypeLevel.API
42
- import Servant.API.MultiVerb
43
42
import Data.Kind (Type )
44
43
import Servant.API.ContentTypes (AllMime , allMime )
44
+ #if MIN_VERSION_servant(0,20,3)
45
45
import qualified Servant.Server.Internal.ResponseRender as Server
46
+ import Servant.API.MultiVerb
47
+ #endif
46
48
import qualified Data.Maybe as List
47
49
48
50
-- | Generate a OpenApi specification for a servant API.
You can’t perform that action at this time.
0 commit comments