mbknor / mbknor-jackson-jsonSchema

Generate JSON Schema with Polymorphism using Jackson annotations
MIT License
234 stars 79 forks source link

Question: Custom Type Mapping with Java #181

Open andresmonc opened 1 year ago

andresmonc commented 1 year ago

I'm trying to do custom type mapping as outlined in the readme but there is not a java example. Below is my JsonSchemaConfig I'm trying to add custom type mappings for

        JsonSchemaConfig jsonSchemaConfig = JsonSchemaConfig.vanillaJsonSchemaDraft4().withJsonSchemaDraft(JsonSchemaDraft.DRAFT_07);