Safe Haskell | None |
---|---|
Language | Haskell2010 |
Autodocodec.Yaml.Schema
Synopsis
- renderColouredSchemaViaCodec :: HasCodec a => Text
- renderColouredSchemaVia :: ValueCodec input output -> Text
- renderColouredObjectSchemaViaCodec :: HasObjectCodec a => Text
- renderColouredObjectSchemaVia :: ObjectCodec input output -> Text
- renderPlainSchemaViaCodec :: HasCodec a => Text
- renderPlainSchemaVia :: ValueCodec input output -> Text
- renderPlainObjectSchemaViaCodec :: HasObjectCodec a => Text
- renderPlainObjectSchemaVia :: ObjectCodec input output -> Text
- schemaChunksViaCodec :: HasCodec a => [Chunk]
- objectSchemaChunksViaCodec :: HasObjectCodec a => [Chunk]
- schemaChunksVia :: ValueCodec input output -> [Chunk]
- objectSchemaChunksVia :: ObjectCodec input output -> [Chunk]
- jsonSchemaChunks :: JSONSchema -> [Chunk]
- jsonObjectSchemaChunks :: ObjectSchema -> [Chunk]
- jsonSchemaChunkLines :: JSONSchema -> [[Chunk]]
- jsonObjectSchemaChunkLines :: ObjectSchema -> [[Chunk]]
Documentation
renderColouredSchemaViaCodec :: 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.
renderColouredObjectSchemaViaCodec :: HasObjectCodec a => Text Source #
Render a human-readable schema for a type's objectCodec
, in colour.
renderColouredObjectSchemaVia :: ObjectCodec input output -> Text Source #
Render a human-readable schema for a given object codec, in colour.
renderPlainSchemaViaCodec :: 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.
renderPlainObjectSchemaViaCodec :: HasObjectCodec a => Text Source #
Render a human-readable schema for a type's objectCodec
, without colour.
renderPlainObjectSchemaVia :: ObjectCodec input output -> Text Source #
Render a human-readable schema for a given object codec, without colour.
schemaChunksViaCodec :: HasCodec a => [Chunk] Source #
objectSchemaChunksViaCodec :: HasObjectCodec a => [Chunk] Source #
Produce potentially-coloured Chunk
s for a human-readable schema for a type's objectCodec
.
schemaChunksVia :: ValueCodec input output -> [Chunk] Source #
Produce potentially-coloured Chunk
s for a human-readable schema for a given codec.
objectSchemaChunksVia :: ObjectCodec input output -> [Chunk] Source #
Produce potentially-coloured Chunk
s for a human-readable schema for a given object codec.
jsonSchemaChunks :: JSONSchema -> [Chunk] Source #
Render a JSONSchema
as Chunk
s
jsonObjectSchemaChunks :: ObjectSchema -> [Chunk] Source #
Render an ObjectSchema
as Chunk
s
jsonSchemaChunkLines :: JSONSchema -> [[Chunk]] Source #
Render a JSONSchema
as lines of Chunk
s
jsonObjectSchemaChunkLines :: ObjectSchema -> [[Chunk]] Source #
Render an ObjectSchema
as lines of Chunk
s