-
Notifications
You must be signed in to change notification settings - Fork 5
Installation
Lukas Ruegner edited this page Jun 8, 2024
·
5 revisions
dependencies {
implementation("io.github.smiley4:schema-kenerator-core:<VERSION>")
// only for using reflection
implementation("io.github.smiley4:schema-kenerator-reflection:<VERSION>")
// only for using kotlinx-serialization
implementation("io.github.smiley4:schema-kenerator-serialization:<VERSION>")
// only for generating json-schemas
implementation("io.github.smiley4:schema-kenerator-jsonschema:<VERSION>")
// only for generating swagger-schemas
implementation("io.github.smiley4:schema-kenerator-swagger:<VERSION>")
// only for basic support of Jackson-annotations
implementation("io.github.smiley4:schema-kenerator-jackson:<VERSION>")
// only for support of Jackson-annotations specific to json-schemas
implementation("io.github.smiley4:schema-kenerator-jackson-jsonschema:<VERSION>")
// only for support of Jackson-annotations specific to swagger-schemas
implementation("io.github.smiley4:schema-kenerator-jackson-swagger:<VERSION>")
}
- Installation
- Modules Overview
- Examples with Explanations
- General Concept
- Custom Type Processing
- Type Redirects
- Generating a Json-Schema using Reflection
- Generating a Swagger-schema using Kotlinx-Serialization
-
How To...
- ... add additional information like title and description to schemas?
- ... use 'toString' or 'name' for enum constants?
- ... overwrite specific types with custom data?
- ... give schemas a different name instead of using the name of the type?
- ... configure class property filters to include or exclude e.g. getter-functions, private or static fields?
- ... detect and handle subtypes and supertypes?
- Changelog