From 6ece23cce5f90eed034ea34a1c751da64d812a87 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Thu, 24 May 2018 17:42:42 -0700 Subject: update codegen and hack-fix tests --- rust/fatcat-api/README.md | 2 +- rust/fatcat-api/api.yaml | 10 +++++----- rust/fatcat-api/api/swagger.yaml | 3 --- rust/fatcat-api/src/models.rs | 5 ----- 4 files changed, 6 insertions(+), 14 deletions(-) (limited to 'rust/fatcat-api') diff --git a/rust/fatcat-api/README.md b/rust/fatcat-api/README.md index 03472ac3..f5cf212e 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-05-24T08:29:24.065Z +- Build date: 2018-05-25T00:37:13.827Z 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 3fd7a213..df828a41 100644 --- a/rust/fatcat-api/api.yaml +++ b/rust/fatcat-api/api.yaml @@ -177,11 +177,11 @@ definitions: format: int64 description: type: string - container_edits: - type: array - item: - type: integer - format: int64 +# container_edits: +# type: array +# item: +# type: integer +# format: int64 # properties: # edit_id: # type: integer diff --git a/rust/fatcat-api/api/swagger.yaml b/rust/fatcat-api/api/swagger.yaml index a6f7a0fe..8db937d4 100644 --- a/rust/fatcat-api/api/swagger.yaml +++ b/rust/fatcat-api/api/swagger.yaml @@ -1296,8 +1296,6 @@ definitions: format: "int64" description: type: "string" - container_edits: - type: "array" extra: type: "object" additionalProperties: @@ -1308,7 +1306,6 @@ definitions: description: "description" editor_id: 6 id: 0 - container_edits: "" upperCaseName: "EDITGROUP" changelogentries: type: "array" diff --git a/rust/fatcat-api/src/models.rs b/rust/fatcat-api/src/models.rs index 9609e5ec..dc9a103f 100644 --- a/rust/fatcat-api/src/models.rs +++ b/rust/fatcat-api/src/models.rs @@ -199,10 +199,6 @@ pub struct Editgroup { #[serde(skip_serializing_if = "Option::is_none")] pub description: Option, - #[serde(rename = "container_edits")] - #[serde(skip_serializing_if = "Option::is_none")] - pub container_edits: Option, - #[serde(rename = "extra")] #[serde(skip_serializing_if = "Option::is_none")] pub extra: Option>, @@ -214,7 +210,6 @@ impl Editgroup { id: None, editor_id: editor_id, description: None, - container_edits: None, extra: None, } } -- cgit v1.2.3