json-schema-serialization
json-schema-serialization copied to clipboard
Adds support for Json Schema using Kotlin.serialization
Hello! First of all, thanks for this project and your work! I was able to install and generate a first json schema in a couple of minutes 💪🏻 . But...
Publish the artifacts to a repository other than JCenter because of its ["sunset"](https://jfrog.com/blog/into-the-sunset-bintray-jcenter-gocenter-and-chartcenter/).
with `additionalProperties = false` properties that do not belong into the class are recognized as errors passing annotations from lists into its elements allows things like ``` @StringEnum(["a", "b", "c"])...
I would like to see a an API-module split from the logic part of this. For the code I am currently working on, I have 0 need for creating schemas...
`minProperties` is a good driver for getting a user to keep on entering data, as they might not realize there is more data to enter otherwise. It's also a good...
Bintray is going away https://jfrog.com/blog/into-the-sunset-bintray-jcenter-gocenter-and-chartcenter/ Might be good to switch before the UI and API is shut down in just month or two's time.. Is github packages a good alternative?...
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...
Here is the stack trace: ``` Exception in thread "main" java.lang.IndexOutOfBoundsException: Empty list doesn't contain element at index 1. at kotlin.collections.EmptyList.get(Collections.kt:36) at kotlin.collections.EmptyList.get(Collections.kt:24) at com.github.ricky12awesome.jss.internal.JsonSchemaKt.jsonSchemaObjectSealed(JsonSchema.kt:80) at com.github.ricky12awesome.jss.internal.JsonSchemaKt$createJsonSchema$7.invoke(JsonSchema.kt:203) at com.github.ricky12awesome.jss.internal.JsonSchemaKt$createJsonSchema$7.invoke(JsonSchema.kt) at...
Gradle configuration does not contain Kotlin-browser target, so it is not possible to use it from browser (not that it is important).
i want to use sealed classes in lists or use type `Any` and allow strings or objects in a list can this library generate the correct schema for that? or...