Skip to content

Commit a59804d

Browse files
committed
Update for openapi3 3.2.3
1 parent cb4104b commit a59804d

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

servant-openapi3.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ library
8585
, lens >=4.17 && <5.3
8686
, servant >=0.17 && <0.20
8787
, singleton-bool >=0.1.4 && <0.2
88-
, openapi3 >=3.0.0 && <3.3
88+
, openapi3 >=3.2.3 && <3.3
8989
, text >=1.2.3.0 && <3
9090
, unordered-containers >=0.2.9.0 && <0.3
9191

src/Servant/OpenApi/Internal.hs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,8 @@ instance
229229

230230
combineSwagger :: OpenApi -> OpenApi -> OpenApi
231231
combineSwagger s t = OpenApi
232-
{ _openApiInfo = _openApiInfo s <> _openApiInfo t
232+
{ _openApiOpenapi = _openApiOpenapi s <> _openApiOpenapi t
233+
, _openApiInfo = _openApiInfo s <> _openApiInfo t
233234
, _openApiServers = _openApiServers s <> _openApiServers t
234235
, _openApiPaths = InsOrdHashMap.unionWith combinePathItem (_openApiPaths s) (_openApiPaths t)
235236
, _openApiComponents = _openApiComponents s <> _openApiComponents t

0 commit comments

Comments
 (0)