4synopsis: Generate a Swagger/OpenAPI/OAS 2.0 specification for your servant API.
6 Swagger is a project used to describe and document RESTful APIs. The core of the
7 project is the [OpenAPI Specification (OAS)](https://swagger.io/docs/specification/about/).
8 This library implements v2.0 of the spec. Unlike Servant it is language-agnostic and thus is
9 quite popular among developers in different languages. It has also existed for a longer time
10 and has more helpful tooling.
12 This package provides means to generate a Swagger/OAS specification for a Servant API
13 and also to partially test whether an API conforms with its specification.
15 Generated Swagger specification then can be used for many things such as
17 * displaying interactive documentation using [Swagger UI](http://swagger.io/swagger-ui/);
19 * generating clients and servers in many languages using [Swagger Codegen](http://swagger.io/swagger-codegen/);
21 * and [many others](http://swagger.io/open-source-integrations/).
22homepage: https://github.com/haskell-servant/servant/tree/master/servant-swagger#readme
23bug-reports: https://github.com/haskell-servant/servant/issues
26author: Servant Contributors
27maintainer: haskell-servant-maintainers@googlegroups.com
28copyright: (c) 2015-2018, Servant contributors
29category: Web, Servant, Swagger
31tested-with: GHC ==8.6.5 || ==8.8.4 || ==8.10.2
40 , example/swagger.json
48 location: https://github.com/haskell-servant/servant.git
54 cabal-doctest >=1.0.6 && <1.1
61 Servant.Swagger.TypeLevel
64 Servant.Swagger.Internal
65 Servant.Swagger.Internal.Orphans
66 Servant.Swagger.Internal.Test
67 Servant.Swagger.Internal.TypeLevel
68 Servant.Swagger.Internal.TypeLevel.API
69 Servant.Swagger.Internal.TypeLevel.Every
70 Servant.Swagger.Internal.TypeLevel.TMap
72 build-depends: aeson >=1.4.2.0 && <3
73 , aeson-pretty >=0.8.7 && <0.9
74 , base >=4.9.1.0 && <5
75 , base-compat >=0.10.5 && <0.13
76 , bytestring >=0.10.8.1 && <0.12
77 , http-media >=0.7.1.3 && <0.9
78 , insert-ordered-containers >=0.2.1.0 && <0.3
80 , servant >=0.18.1 && <0.20
81 , singleton-bool >=0.1.4 && <0.2
82 , swagger2 >=2.3.0.1 && <3
83 , text >=1.2.3.0 && <2.1
84 , unordered-containers >=0.2.9.0 && <0.3
88 default-language: Haskell2010
95 doctest >= 0.17 && <0.21,
99 default-language: Haskell2010
102 type: exitcode-stdio-1.0
106 type: exitcode-stdio-1.0
109 build-tool-depends: hspec-discover:hspec-discover >=2.6.0 && <2.8
112 , aeson >=1.4.2.0 && <3
113 , hspec >=2.6.0 && <2.8
116 , lens-aeson >=1.0.2 && <1.2
122 , utf8-string >=1.0.1.1 && <1.1
127 default-language: Haskell2010
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list