swagger2-2.4: Swagger 2.0 data model
Data.Swagger.Schema.Generator
schemaGen :: Definitions Schema -> Schema -> Gen Value Source #
Note: schemaGen may error, if schema type is not specified, and cannot be inferred.
schemaGen
error
genValue :: ToSchema a => Proxy a -> Gen Value Source #
validateFromJSON :: forall a. (ToSchema a, FromJSON a) => Proxy a -> Property Source #