packages feed

openapi-hs-4.0.0: src/Data/OpenApi/ParamSchema.hs

-- |
-- Module:      Data.OpenApi.ParamSchema
-- Maintainer:  Nadeem Bitar <nadeem@gmail.com>
-- Stability:   experimental
--
-- Types and functions for working with OpenAPI parameter schema.
module Data.OpenApi.ParamSchema
  ( -- * Encoding
    ToParamSchema (..),

    -- * Generic schema encoding
    genericToParamSchema,
    toParamSchemaBoundedIntegral,

    -- * Schema templates
    passwordSchema,
    binarySchema,
    byteSchema,

    -- * Generic encoding configuration
    SchemaOptions (..),
    defaultSchemaOptions,
  )
where

import Data.OpenApi.Internal.ParamSchema
import Data.OpenApi.SchemaOptions