Package-level declarations

Types

Link copied to clipboard

Extension of JacksonOutputConverter that allows for filtering of properties of the generated object via a predicate.

Link copied to clipboard

A Kotlin version of org.springframework.ai.converter.BeanOutputConverter that allows for customization of the used schema via postProcessSchema

Link copied to clipboard
@ApiStatus.Experimental
object JsonResponseText

Normalizes a JSON reply without extracting fragments or repairing its content.

Link copied to clipboard

Exposes a raw JSON Schema for converters that can describe their target type.

Link copied to clipboard

Controls whether generated JSON schemas are normalized from trusted type metadata.

Functions

Link copied to clipboard
fun <Error class: unknown class>.additionalPropertiesNode(): <Error class: unknown class>?

Return the additionalProperties node if present.

Link copied to clipboard
fun <Error class: unknown class>.hasUnsupportedJsonSchemaKeywords(): Boolean

True when the schema node contains keywords that are not part of the conservative native-structured-output subset currently supported by Embabel.

Link copied to clipboard
fun <Error class: unknown class>.itemsNode(): <Error class: unknown class>?

Return the items node if present.

Link copied to clipboard
fun <Error class: unknown class>.normalizeRequiredFields(type: Type, objectMapper: <Error class: unknown class>): <Error class: unknown class>

Normalize the schema's required arrays from trusted type metadata.

Link copied to clipboard
fun parseJsonSchema(schema: String): <Error class: unknown class>?

Parse JSON Schema text into a JsonNode.

Link copied to clipboard
fun <Error class: unknown class>.propertiesNode(): <Error class: unknown class>?

Return the properties node if present.

Link copied to clipboard
fun <Error class: unknown class>.requiredFieldNames(): Set<String>

Return the required property names declared by the schema.

Link copied to clipboard
fun <Error class: unknown class>.schemaType(): String?

Return the schema type value if present.