aboutsummaryrefslogtreecommitdiffstats
path: root/rust/fatcat-api
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2018-07-25 14:38:57 -0700
committerBryan Newbold <bnewbold@robocracy.org>2018-07-25 14:39:09 -0700
commit24f323669212735f3facbe4f417b5f20ba1c5c00 (patch)
tree7617d99a76cf8357d0730d96722dbbfc21dd7b21 /rust/fatcat-api
parentc4618dd2fb070eefcdb38bca7b92fe32da766702 (diff)
downloadfatcat-24f323669212735f3facbe4f417b5f20ba1c5c00.tar.gz
fatcat-24f323669212735f3facbe4f417b5f20ba1c5c00.zip
contribs: raw -> raw_name
Diffstat (limited to 'rust/fatcat-api')
-rw-r--r--rust/fatcat-api/README.md2
-rw-r--r--rust/fatcat-api/api.yaml2
-rw-r--r--rust/fatcat-api/api/swagger.yaml12
-rw-r--r--rust/fatcat-api/src/models.rs6
4 files changed, 11 insertions, 11 deletions
diff --git a/rust/fatcat-api/README.md b/rust/fatcat-api/README.md
index 888462df..8695e15f 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-25T18:31:47.194Z
+- Build date: 2018-07-25T21:32:18.916Z
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 d3d0717b..350e25c8 100644
--- a/rust/fatcat-api/api.yaml
+++ b/rust/fatcat-api/api.yaml
@@ -365,7 +365,7 @@ definitions:
creator_id:
type: string
#format: ident
- raw:
+ raw_name:
type: string
extra:
type: object
diff --git a/rust/fatcat-api/api/swagger.yaml b/rust/fatcat-api/api/swagger.yaml
index bb7361d8..be23cdd6 100644
--- a/rust/fatcat-api/api/swagger.yaml
+++ b/rust/fatcat-api/api/swagger.yaml
@@ -2179,16 +2179,16 @@ definitions:
language: "language"
title: "title"
contribs:
- - role: "role"
+ - raw_name: "raw_name"
+ role: "role"
extra: "{}"
creator_id: "creator_id"
index: 1
- raw: "raw"
- - role: "role"
+ - raw_name: "raw_name"
+ role: "role"
extra: "{}"
creator_id: "creator_id"
index: 1
- raw: "raw"
pages: "pages"
extra: "{}"
editgroup_id: "q3nouwy3nnbsvo3h5klxsx4a7y"
@@ -2751,18 +2751,18 @@ definitions:
format: "int64"
creator_id:
type: "string"
- raw:
+ raw_name:
type: "string"
extra:
type: "object"
role:
type: "string"
example:
+ raw_name: "raw_name"
role: "role"
extra: "{}"
creator_id: "creator_id"
index: 1
- raw: "raw"
upperCaseName: "RELEASE_CONTRIB"
stats_response:
type: "object"
diff --git a/rust/fatcat-api/src/models.rs b/rust/fatcat-api/src/models.rs
index 3ae9b1fa..d85a1bbd 100644
--- a/rust/fatcat-api/src/models.rs
+++ b/rust/fatcat-api/src/models.rs
@@ -433,9 +433,9 @@ pub struct ReleaseContrib {
#[serde(skip_serializing_if = "Option::is_none")]
pub creator_id: Option<String>,
- #[serde(rename = "raw")]
+ #[serde(rename = "raw_name")]
#[serde(skip_serializing_if = "Option::is_none")]
- pub raw: Option<String>,
+ pub raw_name: Option<String>,
#[serde(rename = "extra")]
#[serde(skip_serializing_if = "Option::is_none")]
@@ -451,7 +451,7 @@ impl ReleaseContrib {
ReleaseContrib {
index: None,
creator_id: None,
- raw: None,
+ raw_name: None,
extra: None,
role: None,
}