diff options
Diffstat (limited to 'rust/fatcat-api/src/lib.rs')
-rw-r--r-- | rust/fatcat-api/src/lib.rs | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/rust/fatcat-api/src/lib.rs b/rust/fatcat-api/src/lib.rs index 3696a1e2..716781cb 100644 --- a/rust/fatcat-api/src/lib.rs +++ b/rust/fatcat-api/src/lib.rs @@ -118,8 +118,10 @@ pub enum EditgroupIdAcceptPostResponse { #[derive(Debug, PartialEq)] pub enum EditgroupIdGetResponse { - /// Found Editgroup - FoundEditgroup(models::Editgroup), + /// Found Entity + FoundEntity(models::Editgroup), + /// Bad Request + BadRequest(models::ErrorResponse), /// Not Found NotFound(models::ErrorResponse), /// Generic Error @@ -139,7 +141,7 @@ pub enum EditgroupPostResponse { #[derive(Debug, PartialEq)] pub enum EditorUsernameChangelogGetResponse { /// Found Merged Changes - FoundMergedChanges(models::Changelogentry), + FoundMergedChanges(models::Changelogentries), /// Not Found NotFound(models::ErrorResponse), /// Generic Error |