From 24f323669212735f3facbe4f417b5f20ba1c5c00 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Wed, 25 Jul 2018 14:38:57 -0700 Subject: contribs: raw -> raw_name --- rust/fatcat-api/README.md | 2 +- rust/fatcat-api/api.yaml | 2 +- rust/fatcat-api/api/swagger.yaml | 12 ++++++------ rust/fatcat-api/src/models.rs | 6 +++--- 4 files changed, 11 insertions(+), 11 deletions(-) (limited to 'rust/fatcat-api') 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, - #[serde(rename = "raw")] + #[serde(rename = "raw_name")] #[serde(skip_serializing_if = "Option::is_none")] - pub raw: Option, + pub raw_name: Option, #[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, } -- cgit v1.2.3