summaryrefslogtreecommitdiffstats
path: root/rust/fatcat-api/api
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2018-05-25 18:59:02 -0700
committerBryan Newbold <bnewbold@robocracy.org>2018-05-25 18:59:02 -0700
commit6f54d75f644ab5f0120637b1ceb13b16a4c8534d (patch)
treeaa1fb61cb79f8ec69455c31acd8296686f4e7f67 /rust/fatcat-api/api
parent79807ca16c98c5f75e08624a514ba2afe585373a (diff)
downloadfatcat-6f54d75f644ab5f0120637b1ceb13b16a4c8534d.tar.gz
fatcat-6f54d75f644ab5f0120637b1ceb13b16a4c8534d.zip
fix date on release
Diffstat (limited to 'rust/fatcat-api/api')
-rw-r--r--rust/fatcat-api/api/swagger.yaml4
1 files changed, 4 insertions, 0 deletions
diff --git a/rust/fatcat-api/api/swagger.yaml b/rust/fatcat-api/api/swagger.yaml
index ce85d813..506cb9db 100644
--- a/rust/fatcat-api/api/swagger.yaml
+++ b/rust/fatcat-api/api/swagger.yaml
@@ -1191,6 +1191,9 @@ definitions:
doi:
type: "string"
example: "10.1234/abcde.789"
+ date:
+ type: "string"
+ format: "date"
release_type:
type: "string"
example: "preprint"
@@ -1226,6 +1229,7 @@ definitions:
extra:
type: "object"
example:
+ date: "2000-01-23"
redirect: "f1f046a3-45c9-4b99-adce-000000000002"
work_id: "f1f046a3-45c9-4b99-adce-000000000001"
issue: "12"