generateAirbyteJsonSchema

fun <T> generateAirbyteJsonSchema(klazz: Class<T>): JsonNode

Generates a JSON schema suitable for use by the Airbyte Platform.

This entails inlining any "$ref" fields and ensuring that an object with a "oneOf" field also contains "type": "object".