summaryrefslogtreecommitdiffstats
path: root/rust/fatcat-api
diff options
context:
space:
mode:
Diffstat (limited to 'rust/fatcat-api')
-rw-r--r--rust/fatcat-api/README.md2
-rw-r--r--rust/fatcat-api/api.yaml3
-rw-r--r--rust/fatcat-api/api/swagger.yaml3
-rw-r--r--rust/fatcat-api/src/models.rs5
4 files changed, 12 insertions, 1 deletions
diff --git a/rust/fatcat-api/README.md b/rust/fatcat-api/README.md
index 0a86800f..af4e6a5b 100644
--- a/rust/fatcat-api/README.md
+++ b/rust/fatcat-api/README.md
@@ -13,7 +13,7 @@ To see how to make this your own, look here:
[README](https://github.com/swagger-api/swagger-codegen/blob/master/README.md)
- API version: 0.1.0
-- Build date: 2018-07-26T06:49:34.978Z
+- Build date: 2018-08-15T00:04:03.771Z
This autogenerated project defines an API crate `fatcat` which contains:
* An `Api` trait defining the API in Rust.
diff --git a/rust/fatcat-api/api.yaml b/rust/fatcat-api/api.yaml
index fd12d943..7ec91bad 100644
--- a/rust/fatcat-api/api.yaml
+++ b/rust/fatcat-api/api.yaml
@@ -193,6 +193,9 @@ definitions:
isbn13:
type: string
#format: custom
+ core_id:
+ type: string
+ #format: custom
pmid:
type: string
pmcid:
diff --git a/rust/fatcat-api/api/swagger.yaml b/rust/fatcat-api/api/swagger.yaml
index 15ebfa81..c572fd29 100644
--- a/rust/fatcat-api/api/swagger.yaml
+++ b/rust/fatcat-api/api/swagger.yaml
@@ -2239,6 +2239,8 @@ definitions:
type: "string"
pmid:
type: "string"
+ core_id:
+ type: "string"
isbn13:
type: "string"
doi:
@@ -2359,6 +2361,7 @@ definitions:
creator_id: "creator_id"
index: 1
pages: "pages"
+ core_id: "core_id"
extra: "{}"
editgroup_id: "q3nouwy3nnbsvo3h5klxsx4a7y"
state: "wip"
diff --git a/rust/fatcat-api/src/models.rs b/rust/fatcat-api/src/models.rs
index 61812dc2..81701b70 100644
--- a/rust/fatcat-api/src/models.rs
+++ b/rust/fatcat-api/src/models.rs
@@ -525,6 +525,10 @@ pub struct ReleaseEntity {
#[serde(skip_serializing_if = "Option::is_none")]
pub pmid: Option<String>,
+ #[serde(rename = "core_id")]
+ #[serde(skip_serializing_if = "Option::is_none")]
+ pub core_id: Option<String>,
+
#[serde(rename = "isbn13")]
#[serde(skip_serializing_if = "Option::is_none")]
pub isbn13: Option<String>,
@@ -610,6 +614,7 @@ impl ReleaseEntity {
wikidata_qid: None,
pmcid: None,
pmid: None,
+ core_id: None,
isbn13: None,
doi: None,
release_date: None,