aboutsummaryrefslogtreecommitdiffstats
path: root/rust/fatcat-api-spec/src/mimetypes.rs
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-01-09 23:51:44 -0800
committerBryan Newbold <bnewbold@robocracy.org>2019-01-09 23:51:44 -0800
commita192b0b84e46179a8f28218dfcbb5eb4e28dbf9d (patch)
treef5ea70e1863fbc15a629382b4c189d914c8a555a /rust/fatcat-api-spec/src/mimetypes.rs
parent7632129c594b9edbae8ee9ba5da6ae35d1af2429 (diff)
downloadfatcat-a192b0b84e46179a8f28218dfcbb5eb4e28dbf9d.tar.gz
fatcat-a192b0b84e46179a8f28218dfcbb5eb4e28dbf9d.zip
add a couple additional response types, for consistency
Diffstat (limited to 'rust/fatcat-api-spec/src/mimetypes.rs')
-rw-r--r--rust/fatcat-api-spec/src/mimetypes.rs12
1 files changed, 12 insertions, 0 deletions
diff --git a/rust/fatcat-api-spec/src/mimetypes.rs b/rust/fatcat-api-spec/src/mimetypes.rs
index 83add9e3..11159610 100644
--- a/rust/fatcat-api-spec/src/mimetypes.rs
+++ b/rust/fatcat-api-spec/src/mimetypes.rs
@@ -602,6 +602,10 @@ pub mod responses {
}
/// Create Mime objects for the response content types for CreateEditgroup
lazy_static! {
+ pub static ref CREATE_EDITGROUP_NOT_FOUND: Mime = mime!(Application / Json);
+ }
+ /// Create Mime objects for the response content types for CreateEditgroup
+ lazy_static! {
pub static ref CREATE_EDITGROUP_GENERIC_ERROR: Mime = mime!(Application / Json);
}
/// Create Mime objects for the response content types for GetChangelog
@@ -610,6 +614,10 @@ pub mod responses {
}
/// Create Mime objects for the response content types for GetChangelog
lazy_static! {
+ pub static ref GET_CHANGELOG_BAD_REQUEST: Mime = mime!(Application / Json);
+ }
+ /// Create Mime objects for the response content types for GetChangelog
+ lazy_static! {
pub static ref GET_CHANGELOG_GENERIC_ERROR: Mime = mime!(Application / Json);
}
/// Create Mime objects for the response content types for GetChangelogEntry
@@ -618,6 +626,10 @@ pub mod responses {
}
/// Create Mime objects for the response content types for GetChangelogEntry
lazy_static! {
+ pub static ref GET_CHANGELOG_ENTRY_BAD_REQUEST: Mime = mime!(Application / Json);
+ }
+ /// Create Mime objects for the response content types for GetChangelogEntry
+ lazy_static! {
pub static ref GET_CHANGELOG_ENTRY_NOT_FOUND: Mime = mime!(Application / Json);
}
/// Create Mime objects for the response content types for GetChangelogEntry