OpenAPI 3.0 data model
Go to file
2020-12-11 12:11:13 +03:00
examples change SwaggerItems to OpenApiItems 2020-08-04 13:18:45 +02:00
src/Data Support polymorphic types in schema generator (#9) 2020-12-11 12:08:23 +03:00
test change SwaggerType to OpenApiType 2020-08-04 09:34:49 +02:00
.gitignore More GHC-8.2 changes 2017-06-28 23:58:12 +03:00
.travis.yml Rename swagger2 to openapi3 2020-08-03 17:39:47 +03:00
cabal.project Fix #165: Use InsOrdHashSet 2019-05-28 23:12:19 +03:00
CHANGELOG.md Cleanup stuff after GHC-8.10 2020-05-16 23:13:04 +03:00
hackage-docs.sh GHC-8.4.1 support 2018-03-21 08:17:22 +02:00
LICENSE Bump version and update changelog 2017-09-10 14:17:17 +03:00
openapi3.cabal version 3.0.1.0 2020-12-11 12:11:13 +03:00
README.md rename Data.Swagger to Data.OpenApi 2020-08-03 22:06:26 +02:00
Setup.hs Try Custom build 2017-06-29 15:32:52 +03:00
stack.yaml rename Data.Swagger to Data.OpenApi 2020-08-03 22:06:26 +02:00

OpenApi 3

Hackage Build Status Stackage LTS Stackage Nightly

OpenAPI 3.0 data model.

The original OpenAPI 3.0 specification is available at http://swagger.io/specification/.

This package is heavily based on excellent work on Swagger 2.0 at https://github.com/GetShopTV/swagger2.

Usage

This library is intended to be used for decoding and encoding OpenApi 3.0.3 specifications as well as manipulating them.

Please refer to haddock documentation.

Some examples can be found in examples/ directory.

Trying out

All generated swagger specifications can be interactively viewed on Swagger Editor.

Ready-to-use specification can be served as JSON and interactive API documentation can be displayed using Swagger UI.

Many Swagger tools, including server and client code generation for many languages, can be found on Swagger's Tools and Integrations page.

Contributing

We are happy to receive bug reports, fixes, documentation enhancements, and other improvements.

Please report bugs via the github issue tracker.

GetShopTV Team

Biocad Team