Ricky12Awesome / json-schema-serialization

Adds support for Json Schema using Kotlin.serialization
MIT License
31 stars 9 forks source link

Add ability to substitute definitions manually for custom serializers #8

Open altavir opened 3 years ago

altavir commented 3 years ago

Some custom serializers can't be properly converted to schema due to custom logic inside. It would be nice to be able to substitute definitions for them with manual overrides. Those overrides could be supplied in a form of map <KSerializer, Schema>.