Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- renderColouredSchemaViaCodec :: forall a. HasCodec a => ByteString
- renderColouredSchemaVia :: ValueCodec input output -> ByteString
- renderPlainSchemaViaCodec :: forall a. HasCodec a => ByteString
- renderPlainSchemaVia :: ValueCodec input output -> ByteString
- schemaChunksViaCodec :: forall a. HasCodec a => [Chunk]
- schemaChunksVia :: ValueCodec input output -> [Chunk]
- jsonSchemaChunks :: JSONSchema -> [Chunk]
Documentation
renderColouredSchemaViaCodec :: forall a. HasCodec a => ByteString Source #
Render a human-readable schema for a type's codec
, in colour.
renderColouredSchemaVia :: ValueCodec input output -> ByteString Source #
Render a human-readable schema for a given codec, in colour.
renderPlainSchemaViaCodec :: forall a. HasCodec a => ByteString Source #
Render a human-readable schema for a type's codec
, without colour.
renderPlainSchemaVia :: ValueCodec input output -> ByteString Source #
Render a human-readable schema for a given codec, without colour.
schemaChunksViaCodec :: forall a. HasCodec a => [Chunk] Source #
schemaChunksVia :: ValueCodec input output -> [Chunk] Source #
Produce potentially-coloured Chunk
s for a human-readable schema for a given codec.
jsonSchemaChunks :: JSONSchema -> [Chunk] Source #
Render a JSONSchema
as Chunk
s