aboutsummaryrefslogtreecommitdiffstats
path: root/rust/fatcat-api
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2018-05-24 17:42:42 -0700
committerBryan Newbold <bnewbold@robocracy.org>2018-05-24 17:42:42 -0700
commit6ece23cce5f90eed034ea34a1c751da64d812a87 (patch)
treec80b34d04381557784ed99d567dd14d11409e7a6 /rust/fatcat-api
parent4eb8b801ba937e6f0af25bfc233c13b8e25138c0 (diff)
downloadfatcat-6ece23cce5f90eed034ea34a1c751da64d812a87.tar.gz
fatcat-6ece23cce5f90eed034ea34a1c751da64d812a87.zip
update codegen and hack-fix tests
Diffstat (limited to 'rust/fatcat-api')
-rw-r--r--rust/fatcat-api/README.md2
-rw-r--r--rust/fatcat-api/api.yaml10
-rw-r--r--rust/fatcat-api/api/swagger.yaml3
-rw-r--r--rust/fatcat-api/src/models.rs5
4 files changed, 6 insertions, 14 deletions
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<String>,
- #[serde(rename = "container_edits")]
- #[serde(skip_serializing_if = "Option::is_none")]
- pub container_edits: Option<Vec>,
-
#[serde(rename = "extra")]
#[serde(skip_serializing_if = "Option::is_none")]
pub extra: Option<HashMap<String, String>>,
@@ -214,7 +210,6 @@ impl Editgroup {
id: None,
editor_id: editor_id,
description: None,
- container_edits: None,
extra: None,
}
}