jackson-module-jsonSchema
jackson-module-jsonSchema copied to clipboard
Module for generating JSON Schema (v3) definitions from POJOs
This was mentioned in an older issue but I want to bring it up again: the JsonSchema generator does not differentiate between longs and ints. Both types end up as...
@JsonClassDescription supported by jackson-module-jsonSchema? I have tried to generate JSON schema with jackson-module-jsonSchema 2.7.4 However, it ignores @JsonClassDescription annotation
Most Java POJOs these days use Hibernate Validators to annotate fields: NotNull, NotEmpty, Size, Min, Max, regex pattern, etc. That is badly missing information in the exported JSON schema, which...
Hello, I want to generate schema for carDto, which contains as attributes also four tireDto's. Here is exmaple of such dto's: ``` @Getter @Setter public class CarDto { private String...
I have a class like below: ``` java public class MyClass{ @JsonProperty("property_a") private A a; @JsonProperty("property_b") @JsonPropertyDescription("my favourite property") private B b; @JsonProperty("property_c") private C c; /** * propagate some...
I saw that comment that because of lack of community support, newer version of json schema is not going to get supported. While going through latest specs, I noticed few...
Entity: ```java public class Wound { @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd'T'HH:mm:ss", timezone = "UTC") @JsonProperty("createdAt") @JsonPropertyDescription("A date time object w/o timezone.") @NotNull private LocalDateTime createdAt; } ``` --- When...
### Problem I am trying to solve: Given Java Objects: ```java @JsonSubTypes({ @JsonSubTypes.Type(value = A.class), @JsonSubTypes.Type(value = B.class) }) public interface I {} public class A implements I { public...
From http://json-schema.org/documentation.html > The latest IETF published draft is v3. However, a newer version of the specification is being prepared for submission in early 2013. It would be great to...