Package-level declarations

Types

Link copied to clipboard
class AutoJsonToJsonSchema<NODE : Any>(json: AutoMarshallingJson<NODE>, fieldRetrieval: FieldRetrieval = FieldRetrieval.compose( SimpleLookup( metadataRetrievalStrategy = PrimitivesFieldMetadataRetrievalStrategy ) ), modelNamer: SchemaModelNamer = Simple, refLocationPrefix: String = "components/schemas", metadataRetrieval: MetadataRetrieval = MetadataRetrieval.compose(SimpleMetadataLookup(emptyMap()))) : JsonSchemaCreator<Any, NODE>
Link copied to clipboard
sealed interface Data4kJsonSchemaMeta

Values of the json schema metadata

Link copied to clipboard
data class Field(val value: Any, val isNullable: Boolean, val metadata: FieldMetadata)
Link copied to clipboard
data class FieldHolder(val value: Any)
Link copied to clipboard
data class FieldMetadata(val extra: Map<String, Any?> = emptyMap())
Link copied to clipboard
Link copied to clipboard
class JsonToJsonSchema<NODE>(json: Json<NODE>, refLocationPrefix: String = "components/schemas") : JsonSchemaCreator<NODE, NODE>
Link copied to clipboard
class KondorJsonSchemaCreator(json: KondorJson, refLocationPrefix: String = "components/schema") : JsonSchemaCreator<Any, JsonNode>
Link copied to clipboard
data class MapKey(val keyAsString: Any)
Link copied to clipboard
Link copied to clipboard
class NoFieldFound(name: String, target: Any, cause: Throwable? = null) : RuntimeException
Link copied to clipboard
Link copied to clipboard
class SimpleLookup(renamingStrategy: (String) -> String = { it }, metadataRetrievalStrategy: FieldMetadataRetrievalStrategy = NoOpFieldMetadataRetrievalStrategy()) : FieldRetrieval
Link copied to clipboard
Link copied to clipboard

Set format values for OpenApi descriptions for fields of this type

Properties

Link copied to clipboard

Functions

Link copied to clipboard

Combine Strategies, with the first taking precedence