diff options
Diffstat (limited to 'rust/fatcat-api-spec')
-rw-r--r-- | rust/fatcat-api-spec/README.md | 2 | ||||
-rw-r--r-- | rust/fatcat-api-spec/api.yaml | 3 | ||||
-rw-r--r-- | rust/fatcat-api-spec/api/swagger.yaml | 7 | ||||
-rw-r--r-- | rust/fatcat-api-spec/src/models.rs | 5 |
4 files changed, 16 insertions, 1 deletions
diff --git a/rust/fatcat-api-spec/README.md b/rust/fatcat-api-spec/README.md index 93ab4016..b34efc73 100644 --- a/rust/fatcat-api-spec/README.md +++ b/rust/fatcat-api-spec/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.2.0 -- Build date: 2019-05-14T22:45:05.973Z +- Build date: 2019-05-15T01:33:17.197Z This autogenerated project defines an API crate `fatcat` which contains: * An `Api` trait defining the API in Rust. diff --git a/rust/fatcat-api-spec/api.yaml b/rust/fatcat-api-spec/api.yaml index e739eae1..92253e9d 100644 --- a/rust/fatcat-api-spec/api.yaml +++ b/rust/fatcat-api-spec/api.yaml @@ -530,6 +530,9 @@ definitions: type: integer example: 1048576 format: int64 + created: + type: string + format: date-time submitted: type: string format: date-time diff --git a/rust/fatcat-api-spec/api/swagger.yaml b/rust/fatcat-api-spec/api/swagger.yaml index 0b3abddd..02cdcf36 100644 --- a/rust/fatcat-api-spec/api/swagger.yaml +++ b/rust/fatcat-api-spec/api/swagger.yaml @@ -8345,6 +8345,7 @@ definitions: username: "zerocool93" changelog_index: 1048576 submitted: "2000-01-23T04:56:07.000+00:00" + created: "2000-01-23T04:56:07.000+00:00" extra: "{}" edits: works: @@ -8498,6 +8499,7 @@ definitions: username: "zerocool93" changelog_index: 1048576 submitted: "2000-01-23T04:56:07.000+00:00" + created: "2000-01-23T04:56:07.000+00:00" extra: "{}" edits: works: @@ -8748,6 +8750,9 @@ definitions: type: "integer" format: "int64" example: 1048576 + created: + type: "string" + format: "date-time" submitted: type: "string" format: "date-time" @@ -8770,6 +8775,7 @@ definitions: username: "zerocool93" changelog_index: 1048576 submitted: "2000-01-23T04:56:07.000+00:00" + created: "2000-01-23T04:56:07.000+00:00" extra: "{}" edits: works: @@ -8981,6 +8987,7 @@ definitions: username: "zerocool93" changelog_index: 1048576 submitted: "2000-01-23T04:56:07.000+00:00" + created: "2000-01-23T04:56:07.000+00:00" extra: "{}" edits: works: diff --git a/rust/fatcat-api-spec/src/models.rs b/rust/fatcat-api-spec/src/models.rs index ce559ccc..0ceed261 100644 --- a/rust/fatcat-api-spec/src/models.rs +++ b/rust/fatcat-api-spec/src/models.rs @@ -274,6 +274,10 @@ pub struct Editgroup { #[serde(skip_serializing_if = "Option::is_none")] pub changelog_index: Option<i64>, + #[serde(rename = "created")] + #[serde(skip_serializing_if = "Option::is_none")] + pub created: Option<chrono::DateTime<chrono::Utc>>, + #[serde(rename = "submitted")] #[serde(skip_serializing_if = "Option::is_none")] pub submitted: Option<chrono::DateTime<chrono::Utc>>, @@ -302,6 +306,7 @@ impl Editgroup { editor_id: None, editor: None, changelog_index: None, + created: None, submitted: None, description: None, extra: None, |