Skip to content

Commit

Permalink
Merge pull request #112 from cambridgeweblab/feature/ldo-schema-property
Browse files Browse the repository at this point in the history
Update LinkDescriptionObject to remove redundant 'jsonSchema' property
  • Loading branch information
cowtowncoder authored Sep 28, 2016
2 parents 6c56c0d + 2aec0ec commit 21d8cb8
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package com.fasterxml.jackson.module.jsonSchema.types;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;
import com.fasterxml.jackson.annotation.JsonProperty;
Expand Down Expand Up @@ -203,7 +204,7 @@ structure of the submitted request (for a GET request, this jsonSchema
would define the properties for the query string and for a POST
request, this would define the body).
*/
@JsonProperty
@JsonIgnore
private JsonSchema jsonSchema;

/**
Expand Down Expand Up @@ -266,6 +267,7 @@ public LinkDescriptionObject setTargetSchema(JsonSchema targetSchema) {
return this;
}

@JsonProperty
public JsonSchema getSchema() {
return jsonSchema;
}
Expand Down

0 comments on commit 21d8cb8

Please sign in to comment.