webgear-openapi-1.0.1: Composable, type-safe library to build HTTP API servers
Safe HaskellNone
LanguageHaskell2010

WebGear.OpenApi

Description

Main module for WebGear OpenAPI support.

Import this module to get all required types and functions for generating OpenAPI documentation. Alternatively, import individual modules under WebGear.OpenApi.

Typical usage to generate OpenAPI:

 import WebGear.OpenApi import Data.OpenApi (OpenApi) myHandler :: Handler h m => RequestHandler h '[] myHandler = .... documentation :: OpenApi documentation = toOpenApi myHandler 

Documentation