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.

  1. validateArray :: Vector Value -> Validation Schema ()

    openapi3 Data.OpenApi.Internal.Schema.Validation

    No documentation available.

  2. validateEnum :: Value -> Validation Schema ()

    openapi3 Data.OpenApi.Internal.Schema.Validation

    No documentation available.

  3. validateInteger :: Scientific -> Validation Schema ()

    openapi3 Data.OpenApi.Internal.Schema.Validation

    No documentation available.

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

  5. validateJSONWithPatternChecker :: (Pattern -> Text -> Bool) -> Definitions Schema -> Schema -> Value -> [ValidationError]

    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.

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

    openapi3 Data.OpenApi.Internal.Schema.Validation

    No documentation available.

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

    openapi3 Data.OpenApi.Internal.Schema.Validation

    No documentation available.

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

    openapi3 Data.OpenApi.Internal.Schema.Validation

    No documentation available.

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

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

    openapi3 Data.OpenApi.Internal.Schema.Validation

    No documentation available.

Page 624 of many | Previous | Next