summaryrefslogtreecommitdiffstats
path: root/rust/fatcat-api-spec/api
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2018-12-14 17:36:08 +0800
committerBryan Newbold <bnewbold@robocracy.org>2018-12-14 17:36:08 +0800
commitf6b7f0afbee988f46ee8f23c8c81224c65407679 (patch)
tree01c2c61f4464d9e905a71134d2cb65342c0bb0c5 /rust/fatcat-api-spec/api
parent9ca1bdfdba5de8191ad598ef0cc288eff4d50975 (diff)
downloadfatcat-f6b7f0afbee988f46ee8f23c8c81224c65407679.tar.gz
fatcat-f6b7f0afbee988f46ee8f23c8c81224c65407679.zip
rust codegen
Diffstat (limited to 'rust/fatcat-api-spec/api')
-rw-r--r--rust/fatcat-api-spec/api/swagger.yaml40
1 files changed, 37 insertions, 3 deletions
diff --git a/rust/fatcat-api-spec/api/swagger.yaml b/rust/fatcat-api-spec/api/swagger.yaml
index 5891a24e..98474f13 100644
--- a/rust/fatcat-api-spec/api/swagger.yaml
+++ b/rust/fatcat-api-spec/api/swagger.yaml
@@ -576,6 +576,13 @@ paths:
required: false
formatString: "{:?}"
example: "Some(\"wikidata_qid_example\".to_string())"
+ - name: "expand"
+ in: "query"
+ description: "List of sub-entities to expand in response."
+ required: false
+ type: "string"
+ formatString: "{:?}"
+ example: "Some(\"expand_example\".to_string())"
- name: "hide"
in: "query"
description: "List of entity fields to elide in response. For container, none\
@@ -1354,6 +1361,13 @@ paths:
required: false
formatString: "{:?}"
example: "Some(\"wikidata_qid_example\".to_string())"
+ - name: "expand"
+ in: "query"
+ description: "List of sub-entities to expand in response."
+ required: false
+ type: "string"
+ formatString: "{:?}"
+ example: "Some(\"expand_example\".to_string())"
- name: "hide"
in: "query"
description: "List of entity fields to elide in response. For creator, none\
@@ -2072,6 +2086,13 @@ paths:
type: "string"
formatString: "{:?}"
example: "Some(\"sha256_example\".to_string())"
+ - name: "expand"
+ in: "query"
+ description: "List of sub-entities to expand in response."
+ required: false
+ type: "string"
+ formatString: "{:?}"
+ example: "Some(\"expand_example\".to_string())"
- name: "hide"
in: "query"
description: "List of entity fields to elide in response. For files, none\
@@ -2866,6 +2887,19 @@ paths:
type: "string"
formatString: "{:?}"
example: "Some(\"pmcid_example\".to_string())"
+ - name: "core_id"
+ in: "query"
+ required: false
+ type: "string"
+ formatString: "{:?}"
+ example: "Some(\"core_id_example\".to_string())"
+ - name: "expand"
+ in: "query"
+ description: "List of sub-entities to expand in response."
+ required: false
+ type: "string"
+ formatString: "{:?}"
+ example: "Some(\"expand_example\".to_string())"
- name: "hide"
in: "query"
description: "List of entity fields to elide in response. For releases, 'abstracts',\
@@ -4395,16 +4429,16 @@ definitions:
example: "12"
volume:
type: "string"
- wikidata_qid:
+ core_id:
type: "string"
pmcid:
type: "string"
pmid:
type: "string"
- core_id:
- type: "string"
isbn13:
type: "string"
+ wikidata_qid:
+ type: "string"
doi:
type: "string"
example: "10.1234/abcde.789"