Skip to content

Commit

Permalink
Add modified and created properties (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
Charles Overbeck authored Nov 6, 2024
1 parent 9ce17df commit efae5cf
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/main/resources/zenodo-1.0.0-swagger-2.0.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1019,6 +1019,12 @@ definitions:
properties:
id:
type: integer
created:
type: string
format: date-time
modified:
type: string
format: date-time
doi:
type: string
doi_url:
Expand Down
2 changes: 2 additions & 0 deletions src/test/java/io/dockstore/ZenodoClientTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,7 @@ public void testZenodoClient() throws ApiException {
void testConceptDoi() {
final SearchResult searchResult = previewApi.listRecords(null, "bestmatch", 1, 100);
assertNotNull(searchResult.getHits().getHits().get(0).getConceptdoi());
assertNotNull(searchResult.getHits().getHits().get(0).getCreated());
assertNotNull(searchResult.getHits().getHits().get(0).getModified());
}
}

0 comments on commit efae5cf

Please sign in to comment.