File tree Expand file tree Collapse file tree 3 files changed +13
-2
lines changed Expand file tree Collapse file tree 3 files changed +13
-2
lines changed Original file line number Diff line number Diff line change
1
+ 1.1.3
2
+ ---
3
+
4
+ * Notes:
5
+ * ` servant-0.11 ` compatible release
6
+
1
7
1.1.2.1
2
8
---
3
9
Original file line number Diff line number Diff line change 1
1
name : servant-swagger
2
- version : 1.1.2.1
2
+ version : 1.1.3
3
3
synopsis : Generate Swagger specification for your servant API.
4
4
description : Please see README.md
5
5
homepage : https://github.com/haskell-servant/servant-swagger
@@ -60,7 +60,7 @@ library
60
60
, http-media >= 0.6.3 && < 0.7
61
61
, insert-ordered-containers >= 0.1.0.0 && < 0.3
62
62
, lens >= 4.7.0.1 && < 4.16
63
- , servant >= 0.5 && < 0.11
63
+ , servant >= 0.5 && < 0.12
64
64
, swagger2 >= 2.1 && < 2.2
65
65
, text >= 1.2.0.6 && < 1.3
66
66
, unordered-containers >= 0.2.5.1 && < 0.3
Original file line number Diff line number Diff line change @@ -71,6 +71,11 @@ class HasSwagger api where
71
71
instance HasSwagger Raw where
72
72
toSwagger _ = mempty & paths . at " /" ?~ mempty
73
73
74
+ #if MIN_VERSION_servant(0,11,0)
75
+ instance HasSwagger EmptyAPI where
76
+ toSwagger _ = mempty
77
+ #endif
78
+
74
79
-- | All operations of sub API.
75
80
-- This is similar to @'operationsOf'@ but ensures that operations
76
81
-- indeed belong to the API at compile time.
You can’t perform that action at this time.
0 commit comments