Hoogle Search

Within LTS Haskell 24.65 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. validateNumber :: Scientific -> Validation Schema ()

    openapi3 Data.OpenApi.Internal.Schema.Validation

    No documentation available.

  2. validateObject :: KeyMap Value -> Validation Schema ()

    openapi3 Data.OpenApi.Internal.Schema.Validation

    No documentation available.

  3. validateParamSchemaType :: Value -> Validation Schema ()

    openapi3 Data.OpenApi.Internal.Schema.Validation

    No documentation available.

  4. validatePrettyToJSON :: (ToJSON a, ToSchema a) => a -> Maybe String

    openapi3 Data.OpenApi.Internal.Schema.Validation

    Validate ToJSON instance matches ToSchema for a given value. This can be used with QuickCheck to ensure those instances are coherent:

    validateToJSON (x :: Int) == []
    
    NOTE: validateToJSON does not perform string pattern validation. See validateToJSONWithPatternChecker. See renderValidationErrors on how the output is structured.

  5. validateSchemaType :: Value -> Validation Schema ()

    openapi3 Data.OpenApi.Internal.Schema.Validation

    No documentation available.

  6. validateString :: Text -> Validation Schema ()

    openapi3 Data.OpenApi.Internal.Schema.Validation

    No documentation available.

  7. validateToJSON :: (ToJSON a, ToSchema a) => a -> [ValidationError]

    openapi3 Data.OpenApi.Internal.Schema.Validation

    Variant of validatePrettyToJSON with typed output.

  8. validateToJSONWithPatternChecker :: (ToJSON a, ToSchema a) => (Pattern -> Text -> Bool) -> a -> [ValidationError]

    openapi3 Data.OpenApi.Internal.Schema.Validation

    Validate ToJSON instance matches ToSchema for a given value and pattern checker. This can be used with QuickCheck to ensure those instances are coherent. For validation without patterns see validateToJSON. See also: renderValidationErrors.

  9. validateWithSchema :: Value -> Validation Schema ()

    openapi3 Data.OpenApi.Internal.Schema.Validation

    Validate JSON Value with Swagger Schema.

  10. validateWithSchemaRef :: Referenced Schema -> Value -> Validation s ()

    openapi3 Data.OpenApi.Internal.Schema.Validation

    No documentation available.

Page 873 of many | Previous | Next