Skip to content

Commit

Permalink
fix: DataProperty must use Schema() not ObjectSchema
Browse files Browse the repository at this point in the history
  • Loading branch information
mosoriob committed Nov 20, 2019
1 parent 9d12f55 commit 0d1725e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ output_dir: outputs
openapi_base: modelcatalog_info.yaml

endpoint:
url: http://endpoint.mint.isi.edu/modelCatalog-1.2.0
url: https://endpoint.mint.isi.edu/modelCatalog-1.2.0
prefix: https://w3id.org/okn/i/mint/
graph_base: http://ontosoft.isi.edu:3030/modelCatalog-1.2.0/data/

Expand Down
2 changes: 1 addition & 1 deletion src/main/java/edu/isi/oba/MapperDataProperty.java
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ public Schema getSchemaByDataProperty(){
return (array) ? arraySchema(new NumberSchema(), nullable) : new IntegerSchema().nullable(nullable);
default:
System.out.println("datatype mapping failed " + this.type.get(0));
return (array) ? arraySchema(new ObjectSchema(), nullable) : new ObjectSchema().nullable(nullable);
return (array) ? arraySchema(new Schema(), nullable) : new Schema().nullable(nullable);
}
}

Expand Down

0 comments on commit 0d1725e

Please sign in to comment.