Skip to content

Commit

Permalink
Merge pull request #5 from automated-a11y/release/1.0.1
Browse files Browse the repository at this point in the history
Release/1.0.1
  • Loading branch information
sridharbandi authored Jan 21, 2023
2 parents 84f4f0e + 775f05e commit e38e87a
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 153 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>io.github.automated-a11y</groupId>
<artifactId>java-a11y-playwright</artifactId>
<version>1.0.1-SNAPSHOT</version>
<version>1.0.1</version>

<properties>
<maven.compiler.source>8</maven.compiler.source>
Expand Down
19 changes: 3 additions & 16 deletions src/main/java/io/github/sridharbandi/pw/modal/axe/Checks.java
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@

@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
"data",
"id",
"impact",
"message",
Expand All @@ -19,29 +18,17 @@
@Generated("jsonschema2pojo")
public class Checks {

@JsonProperty("data")
private Object data;
@JsonProperty("id")
private String id;
@JsonProperty("impact")
private String impact;
@JsonProperty("message")
private String message;
@JsonProperty("relatedNodes")
private List<Object> relatedNodes = null;
private List<RelatedNode> relatedNodes = null;
@JsonIgnore
private Map<String, Object> additionalProperties = new HashMap<String, Object>();

@JsonProperty("data")
public Object getData() {
return data;
}

@JsonProperty("data")
public void setData(Object data) {
this.data = data;
}

@JsonProperty("id")
public String getId() {
return id;
Expand Down Expand Up @@ -73,12 +60,12 @@ public void setMessage(String message) {
}

@JsonProperty("relatedNodes")
public List<Object> getRelatedNodes() {
public List<RelatedNode> getRelatedNodes() {
return relatedNodes;
}

@JsonProperty("relatedNodes")
public void setRelatedNodes(List<Object> relatedNodes) {
public void setRelatedNodes(List<RelatedNode> relatedNodes) {
this.relatedNodes = relatedNodes;
}

Expand Down
133 changes: 0 additions & 133 deletions src/main/java/io/github/sridharbandi/pw/modal/axe/Data.java

This file was deleted.

6 changes: 3 additions & 3 deletions src/main/java/io/github/sridharbandi/pw/modal/axe/Node.java
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public class Node {
@JsonProperty("html")
private String html;
@JsonProperty("impact")
private Object impact;
private String impact;
@JsonProperty("none")
private List<Checks> none = null;
@JsonProperty("target")
Expand Down Expand Up @@ -66,12 +66,12 @@ public void setHtml(String html) {
}

@JsonProperty("impact")
public Object getImpact() {
public String getImpact() {
return impact;
}

@JsonProperty("impact")
public void setImpact(Object impact) {
public void setImpact(String impact) {
this.impact = impact;
}

Expand Down

0 comments on commit e38e87a

Please sign in to comment.