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.

  1. validateObject :: HashMap Text Value -> Validation Schema ()

    swagger2 Data.Swagger.Internal.Schema.Validation

    No documentation available.

  2. validateParamSchemaType :: forall (t :: SwaggerKind Type) . Value -> Validation (ParamSchema t) ()

    swagger2 Data.Swagger.Internal.Schema.Validation

    No documentation available.

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

    swagger2 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.

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

    swagger2 Data.Swagger.Internal.Schema.Validation

    No documentation available.

  5. validateString :: forall (t :: SwaggerKind Type) . Text -> Validation (ParamSchema t) ()

    swagger2 Data.Swagger.Internal.Schema.Validation

    No documentation available.

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

    swagger2 Data.Swagger.Internal.Schema.Validation

    Variant of validatePrettyToJSON with typed output.

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

    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.

  8. validateWithParamSchema :: forall (t :: SwaggerKind Type) . Value -> Validation (ParamSchema t) ()

    swagger2 Data.Swagger.Internal.Schema.Validation

    Validate JSON Value with Swagger ParamSchema.

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

    swagger2 Data.Swagger.Internal.Schema.Validation

    Validate JSON Value with Swagger Schema.

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

    swagger2 Data.Swagger.Internal.Schema.Validation

    No documentation available.

Page 943 of many | Previous | Next