Hoogle Search
Within LTS Haskell 24.66 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
validateObject :: HashMap Text Value -> Validation Schema ()swagger2 Data.Swagger.Internal.Schema.Validation No documentation available.
validateParamSchemaType :: forall (t :: SwaggerKind Type) . Value -> Validation (ParamSchema t) ()swagger2 Data.Swagger.Internal.Schema.Validation No documentation available.
validatePrettyToJSON :: (ToJSON a, ToSchema a) => a -> Maybe Stringswagger2 Data.Swagger.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 ()swagger2 Data.Swagger.Internal.Schema.Validation No documentation available.
validateString :: forall (t :: SwaggerKind Type) . Text -> Validation (ParamSchema t) ()swagger2 Data.Swagger.Internal.Schema.Validation No documentation available.
validateToJSON :: (ToJSON a, ToSchema a) => a -> [ValidationError]swagger2 Data.Swagger.Internal.Schema.Validation Variant of validatePrettyToJSON with typed output.
-
swagger2 Data.Swagger.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.
validateWithParamSchema :: forall (t :: SwaggerKind Type) . Value -> Validation (ParamSchema t) ()swagger2 Data.Swagger.Internal.Schema.Validation Validate JSON Value with Swagger ParamSchema.
validateWithSchema :: Value -> Validation Schema ()swagger2 Data.Swagger.Internal.Schema.Validation validateWithSchemaRef :: Referenced Schema -> Value -> Validation s ()swagger2 Data.Swagger.Internal.Schema.Validation No documentation available.