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.
validateNumber :: Scientific -> Validation Schema ()openapi3 Data.OpenApi.Internal.Schema.Validation No documentation available.
validateObject :: KeyMap Value -> Validation Schema ()openapi3 Data.OpenApi.Internal.Schema.Validation No documentation available.
validateParamSchemaType :: Value -> Validation Schema ()openapi3 Data.OpenApi.Internal.Schema.Validation No documentation available.
validatePrettyToJSON :: (ToJSON a, ToSchema a) => a -> Maybe Stringopenapi3 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.validateSchemaType :: Value -> Validation Schema ()openapi3 Data.OpenApi.Internal.Schema.Validation No documentation available.
validateString :: Text -> Validation Schema ()openapi3 Data.OpenApi.Internal.Schema.Validation No documentation available.
validateToJSON :: (ToJSON a, ToSchema a) => a -> [ValidationError]openapi3 Data.OpenApi.Internal.Schema.Validation Variant of validatePrettyToJSON with typed output.
-
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.
validateWithSchema :: Value -> Validation Schema ()openapi3 Data.OpenApi.Internal.Schema.Validation validateWithSchemaRef :: Referenced Schema -> Value -> Validation s ()openapi3 Data.OpenApi.Internal.Schema.Validation No documentation available.