Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- renderColouredSchemaViaCodec :: forall a. HasCodec a => Text
- renderColouredSchemaVia :: ValueCodec input output -> Text
- renderPlainSchemaViaCodec :: forall a. HasCodec a => Text
- renderPlainSchemaVia :: ValueCodec input output -> Text
- schemaChunksViaCodec :: forall a. HasCodec a => [Chunk]
- schemaChunksVia :: ValueCodec input output -> [Chunk]
- jsonSchemaChunks :: JSONSchema -> [Chunk]
Documentation
renderColouredSchemaViaCodec :: forall a. HasCodec a => Text Source #
Render a human-readable schema for a type's codec
, in colour.
renderColouredSchemaVia :: ValueCodec input output -> Text Source #
Render a human-readable schema for a given codec, in colour.
renderPlainSchemaViaCodec :: forall a. HasCodec a => Text Source #
Render a human-readable schema for a type's codec
, without colour.
renderPlainSchemaVia :: ValueCodec input output -> Text 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