Hoogle Search
Within LTS Haskell 24.64 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
validateArray :: Vector Value -> Validation Schema ()openapi3 Data.OpenApi.Internal.Schema.Validation No documentation available.
validateEnum :: Value -> Validation Schema ()openapi3 Data.OpenApi.Internal.Schema.Validation No documentation available.
validateInteger :: Scientific -> Validation Schema ()openapi3 Data.OpenApi.Internal.Schema.Validation No documentation available.
validateJSON :: Definitions Schema -> Schema -> Value -> [ValidationError]openapi3 Data.OpenApi.Internal.Schema.Validation Validate JSON Value against Swagger Schema.
validateJSON mempty (toSchema (Proxy :: Proxy Int)) (toJSON (x :: Int)) == []
NOTE: validateJSON does not perform string pattern validation. See validateJSONWithPatternChecker.-
openapi3 Data.OpenApi.Internal.Schema.Validation Validate JSON Value agains Swagger ToSchema for a given value and pattern checker. For validation without patterns see validateJSON.
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.