summaryrefslogtreecommitdiffstats
path: root/rust/fatcat-api-spec/api
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2018-12-24 15:14:32 -0800
committerBryan Newbold <bnewbold@robocracy.org>2018-12-24 15:14:32 -0800
commitd7a4e4649e1da2c02ec8472173c79f7c708ce19b (patch)
treeb3b02f3ac7e652771a0e8485a180ff82b8e0f75f /rust/fatcat-api-spec/api
parentb755695a38689258ccd99e98d0a737a233cf9874 (diff)
downloadfatcat-d7a4e4649e1da2c02ec8472173c79f7c708ce19b.tar.gz
fatcat-d7a4e4649e1da2c02ec8472173c79f7c708ce19b.zip
codegen release_year
Diffstat (limited to 'rust/fatcat-api-spec/api')
-rw-r--r--rust/fatcat-api-spec/api/swagger.yaml9
1 files changed, 7 insertions, 2 deletions
diff --git a/rust/fatcat-api-spec/api/swagger.yaml b/rust/fatcat-api-spec/api/swagger.yaml
index 98474f13..0446dc8d 100644
--- a/rust/fatcat-api-spec/api/swagger.yaml
+++ b/rust/fatcat-api-spec/api/swagger.yaml
@@ -2411,8 +2411,8 @@ paths:
example: "\"id_example\".to_string()"
- name: "expand"
in: "query"
- description: "List of sub-entities to expand in response. For releases, 'files'\
- \ and 'container' are valid."
+ description: "List of sub-entities to expand in response. For releases, 'files',\
+ \ 'container', and 'creators' are valid."
required: false
type: "string"
formatString: "{:?}"
@@ -4442,6 +4442,10 @@ definitions:
doi:
type: "string"
example: "10.1234/abcde.789"
+ release_year:
+ type: "integer"
+ format: "int64"
+ example: 2014
release_date:
type: "string"
format: "date"
@@ -4569,6 +4573,7 @@ definitions:
mimetype: "application/xml+jats"
lang: "en"
content: "<jats:p>Some abstract thing goes here</jats:p>"
+ release_year: 2014
release_type: "book"
wikidata_qid: "wikidata_qid"
pmid: "pmid"