From a192b0b84e46179a8f28218dfcbb5eb4e28dbf9d Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Wed, 9 Jan 2019 23:51:44 -0800 Subject: add a couple additional response types, for consistency --- rust/fatcat-api-spec/src/lib.rs | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'rust/fatcat-api-spec/src/lib.rs') diff --git a/rust/fatcat-api-spec/src/lib.rs b/rust/fatcat-api-spec/src/lib.rs index cd281a3d..3f1afa67 100644 --- a/rust/fatcat-api-spec/src/lib.rs +++ b/rust/fatcat-api-spec/src/lib.rs @@ -448,6 +448,8 @@ pub enum CreateEditgroupResponse { NotAuthorized { body: models::ErrorResponse, www_authenticate: String }, /// Forbidden Forbidden(models::ErrorResponse), + /// Not Found + NotFound(models::ErrorResponse), /// Generic Error GenericError(models::ErrorResponse), } @@ -456,6 +458,8 @@ pub enum CreateEditgroupResponse { pub enum GetChangelogResponse { /// Success Success(Vec), + /// Bad Request + BadRequest(models::ErrorResponse), /// Generic Error GenericError(models::ErrorResponse), } @@ -464,6 +468,8 @@ pub enum GetChangelogResponse { pub enum GetChangelogEntryResponse { /// Found Changelog Entry FoundChangelogEntry(models::ChangelogEntry), + /// Bad Request + BadRequest(models::ErrorResponse), /// Not Found NotFound(models::ErrorResponse), /// Generic Error -- cgit v1.2.3