jackson-module-jsonSchema icon indicating copy to clipboard operation
jackson-module-jsonSchema copied to clipboard

Module for generating JSON Schema (v3) definitions from POJOs

Results 40 jackson-module-jsonSchema issues
Sort by recently updated
recently updated
newest added

# version 2.8 # Description I have serialized the following entity : ```json { "createdDate": { "nano": 326000000, "epochSecond": 1484986332 }, "lastModifiedDate": null, "createdById": null, "lastModifiedById": null, "active": true, "login":...

I`m trying to provide the JSON schema generation for Kotlin data classes/classes that have specific null-able behaviour: `var string: String` - can't be null `var string: String?` - can be...

### Affects: [2.8.2](https://github.com/FasterXML/jackson-module-jsonSchema/tree/jackson-module-jsonSchema-2.8.2) ### Issue When trying to deserialize a JSON schema without attribute `type`, an exception is raised. Relates to [PR 110](https://github.com/FasterXML/jackson-module-jsonSchema/pull/110) ### [Spec pointer](https://tools.ietf.org/html/draft-zyp-json-schema-03#section-5.1) > If the property...

Consider the following: ``` public class Person { @Min(0) private int id; } ``` when serialized to json schema, will output: ``` { "type" : "object", "id" : "urn:jsonschema:xxx:Person", "properties"...

Looking at the [JSON Schema Validation spec oneOf section](http://json-schema.org/latest/json-schema-validation.html#anchor88): > Elements of the array MUST be objects. Each object MUST be a valid JSON Schema. Shouldn't `ContainerTypeSchema#oneOf` therefore be a...

I have a POJO that has 2 or more fields of the same complex type (another POJO class). The schema generated for this class only has a reference to the...

UnionTypeSchema currently cannot be serialised because it returns a null type which is not welcomed by JsonSchemaIdResolver.idFromValue. If you extend UnionTypeSchema and return a type then it serialises this as...

(followup from: https://github.com/FasterXML/jackson-annotations/issues/73) With 2.7, there is new annotation `@JsonClassDescription`, and appropriate access via `AnnotationInstropector` (call "findClassDescription()" or such). It would make sense to use this to get description for...

VisitorContext uses ResolvedType.toCanonical() to create the URN. Problem is implementations of toCanonical in Jackson core types use '' to denote type params(e.g. SimpleType). These two characters are excluded from the...

Looks like `MapVisitor.java` is not doing anything with key type it gets via callback: ``` java @Override public void keyFormat(JsonFormatVisitable handler, JavaType keyType) throws JsonMappingException { // JSON Schema only...