aboutsummaryrefslogtreecommitdiffstats
path: root/rust/fatcat-api/src/mimetypes.rs
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2018-05-15 22:19:04 -0700
committerBryan Newbold <bnewbold@robocracy.org>2018-05-15 22:19:04 -0700
commit6a3ca56b19de64a985f962196050cabf16a6722c (patch)
tree0fa0eebca6c87ba2669c2f524ec2ed14455a5ac4 /rust/fatcat-api/src/mimetypes.rs
parent92a911e394c5fad7e7ebb1139abd50fd87450a81 (diff)
downloadfatcat-6a3ca56b19de64a985f962196050cabf16a6722c.tar.gz
fatcat-6a3ca56b19de64a985f962196050cabf16a6722c.zip
regenerate API
Diffstat (limited to 'rust/fatcat-api/src/mimetypes.rs')
-rw-r--r--rust/fatcat-api/src/mimetypes.rs134
1 files changed, 87 insertions, 47 deletions
diff --git a/rust/fatcat-api/src/mimetypes.rs b/rust/fatcat-api/src/mimetypes.rs
index cc362421..9d3d91a8 100644
--- a/rust/fatcat-api/src/mimetypes.rs
+++ b/rust/fatcat-api/src/mimetypes.rs
@@ -6,7 +6,7 @@ pub mod responses {
// The macro is called per-operation to beat the recursion limit
/// Create Mime objects for the response content types for ContainerIdGet
lazy_static! {
- pub static ref CONTAINER_ID_GET_FETCH_A_SINGLE_CONTAINER_BY_ID: Mime = mime!(Application / Json);
+ pub static ref CONTAINER_ID_GET_FOUND_ENTITY: Mime = mime!(Application / Json);
}
/// Create Mime objects for the response content types for ContainerIdGet
lazy_static! {
@@ -14,11 +14,15 @@ pub mod responses {
}
/// Create Mime objects for the response content types for ContainerIdGet
lazy_static! {
- pub static ref CONTAINER_ID_GET_GENERIC_ERROR_RESPONSE: Mime = mime!(Application / Json);
+ pub static ref CONTAINER_ID_GET_NOT_FOUND: Mime = mime!(Application / Json);
+ }
+ /// Create Mime objects for the response content types for ContainerIdGet
+ lazy_static! {
+ pub static ref CONTAINER_ID_GET_GENERIC_ERROR: Mime = mime!(Application / Json);
}
/// Create Mime objects for the response content types for ContainerLookupGet
lazy_static! {
- pub static ref CONTAINER_LOOKUP_GET_FIND_A_SINGLE_CONTAINER_BY_EXTERNAL_IDENTIFER: Mime = mime!(Application / Json);
+ pub static ref CONTAINER_LOOKUP_GET_FOUND_ENTITY: Mime = mime!(Application / Json);
}
/// Create Mime objects for the response content types for ContainerLookupGet
lazy_static! {
@@ -26,15 +30,15 @@ pub mod responses {
}
/// Create Mime objects for the response content types for ContainerLookupGet
lazy_static! {
- pub static ref CONTAINER_LOOKUP_GET_NO_SUCH_CONTAINER: Mime = mime!(Application / Json);
+ pub static ref CONTAINER_LOOKUP_GET_NOT_FOUND: Mime = mime!(Application / Json);
}
/// Create Mime objects for the response content types for ContainerLookupGet
lazy_static! {
- pub static ref CONTAINER_LOOKUP_GET_GENERIC_ERROR_RESPONSE: Mime = mime!(Application / Json);
+ pub static ref CONTAINER_LOOKUP_GET_GENERIC_ERROR: Mime = mime!(Application / Json);
}
/// Create Mime objects for the response content types for ContainerPost
lazy_static! {
- pub static ref CONTAINER_POST_CREATED: Mime = mime!(Application / Json);
+ pub static ref CONTAINER_POST_CREATED_ENTITY: Mime = mime!(Application / Json);
}
/// Create Mime objects for the response content types for ContainerPost
lazy_static! {
@@ -42,11 +46,15 @@ pub mod responses {
}
/// Create Mime objects for the response content types for ContainerPost
lazy_static! {
- pub static ref CONTAINER_POST_GENERIC_ERROR_RESPONSE: Mime = mime!(Application / Json);
+ pub static ref CONTAINER_POST_NOT_FOUND: Mime = mime!(Application / Json);
+ }
+ /// Create Mime objects for the response content types for ContainerPost
+ lazy_static! {
+ pub static ref CONTAINER_POST_GENERIC_ERROR: Mime = mime!(Application / Json);
}
/// Create Mime objects for the response content types for CreatorIdGet
lazy_static! {
- pub static ref CREATOR_ID_GET_FETCH_A_SINGLE_CREATOR_BY_ID: Mime = mime!(Application / Json);
+ pub static ref CREATOR_ID_GET_FOUND_ENTITY: Mime = mime!(Application / Json);
}
/// Create Mime objects for the response content types for CreatorIdGet
lazy_static! {
@@ -54,11 +62,15 @@ pub mod responses {
}
/// Create Mime objects for the response content types for CreatorIdGet
lazy_static! {
- pub static ref CREATOR_ID_GET_GENERIC_ERROR_RESPONSE: Mime = mime!(Application / Json);
+ pub static ref CREATOR_ID_GET_NOT_FOUND: Mime = mime!(Application / Json);
+ }
+ /// Create Mime objects for the response content types for CreatorIdGet
+ lazy_static! {
+ pub static ref CREATOR_ID_GET_GENERIC_ERROR: Mime = mime!(Application / Json);
}
/// Create Mime objects for the response content types for CreatorLookupGet
lazy_static! {
- pub static ref CREATOR_LOOKUP_GET_FIND_A_SINGLE_CREATOR_BY_EXTERNAL_IDENTIFER: Mime = mime!(Application / Json);
+ pub static ref CREATOR_LOOKUP_GET_FOUND_ENTITY: Mime = mime!(Application / Json);
}
/// Create Mime objects for the response content types for CreatorLookupGet
lazy_static! {
@@ -66,15 +78,15 @@ pub mod responses {
}
/// Create Mime objects for the response content types for CreatorLookupGet
lazy_static! {
- pub static ref CREATOR_LOOKUP_GET_NO_SUCH_CREATOR: Mime = mime!(Application / Json);
+ pub static ref CREATOR_LOOKUP_GET_NOT_FOUND: Mime = mime!(Application / Json);
}
/// Create Mime objects for the response content types for CreatorLookupGet
lazy_static! {
- pub static ref CREATOR_LOOKUP_GET_GENERIC_ERROR_RESPONSE: Mime = mime!(Application / Json);
+ pub static ref CREATOR_LOOKUP_GET_GENERIC_ERROR: Mime = mime!(Application / Json);
}
/// Create Mime objects for the response content types for CreatorPost
lazy_static! {
- pub static ref CREATOR_POST_CREATED: Mime = mime!(Application / Json);
+ pub static ref CREATOR_POST_CREATED_ENTITY: Mime = mime!(Application / Json);
}
/// Create Mime objects for the response content types for CreatorPost
lazy_static! {
@@ -82,35 +94,39 @@ pub mod responses {
}
/// Create Mime objects for the response content types for CreatorPost
lazy_static! {
- pub static ref CREATOR_POST_GENERIC_ERROR_RESPONSE: Mime = mime!(Application / Json);
+ pub static ref CREATOR_POST_NOT_FOUND: Mime = mime!(Application / Json);
+ }
+ /// Create Mime objects for the response content types for CreatorPost
+ lazy_static! {
+ pub static ref CREATOR_POST_GENERIC_ERROR: Mime = mime!(Application / Json);
}
/// Create Mime objects for the response content types for EditgroupIdAcceptPost
lazy_static! {
- pub static ref EDITGROUP_ID_ACCEPT_POST_MERGED_EDITGROUP_SUCCESSFULLY_: Mime = mime!(Application / Json);
+ pub static ref EDITGROUP_ID_ACCEPT_POST_MERGED_SUCCESSFULLY: Mime = mime!(Application / Json);
}
/// Create Mime objects for the response content types for EditgroupIdAcceptPost
lazy_static! {
- pub static ref EDITGROUP_ID_ACCEPT_POST_EDITGROUP_IS_IN_AN_UNMERGABLE_STATE: Mime = mime!(Application / Json);
+ pub static ref EDITGROUP_ID_ACCEPT_POST_UNMERGABLE: Mime = mime!(Application / Json);
}
/// Create Mime objects for the response content types for EditgroupIdAcceptPost
lazy_static! {
- pub static ref EDITGROUP_ID_ACCEPT_POST_NO_SUCH_EDITGROUP: Mime = mime!(Application / Json);
+ pub static ref EDITGROUP_ID_ACCEPT_POST_NOT_FOUND: Mime = mime!(Application / Json);
}
/// Create Mime objects for the response content types for EditgroupIdAcceptPost
lazy_static! {
- pub static ref EDITGROUP_ID_ACCEPT_POST_GENERIC_ERROR_RESPONSE: Mime = mime!(Application / Json);
+ pub static ref EDITGROUP_ID_ACCEPT_POST_GENERIC_ERROR: Mime = mime!(Application / Json);
}
/// Create Mime objects for the response content types for EditgroupIdGet
lazy_static! {
- pub static ref EDITGROUP_ID_GET_FETCH_EDITGROUP_BY_IDENTIFIER: Mime = mime!(Application / Json);
+ pub static ref EDITGROUP_ID_GET_FOUND_EDITGROUP: Mime = mime!(Application / Json);
}
/// Create Mime objects for the response content types for EditgroupIdGet
lazy_static! {
- pub static ref EDITGROUP_ID_GET_NO_SUCH_EDITGROUP: Mime = mime!(Application / Json);
+ pub static ref EDITGROUP_ID_GET_NOT_FOUND: Mime = mime!(Application / Json);
}
/// Create Mime objects for the response content types for EditgroupIdGet
lazy_static! {
- pub static ref EDITGROUP_ID_GET_GENERIC_ERROR_RESPONSE: Mime = mime!(Application / Json);
+ pub static ref EDITGROUP_ID_GET_GENERIC_ERROR: Mime = mime!(Application / Json);
}
/// Create Mime objects for the response content types for EditgroupPost
lazy_static! {
@@ -118,39 +134,39 @@ pub mod responses {
}
/// Create Mime objects for the response content types for EditgroupPost
lazy_static! {
- pub static ref EDITGROUP_POST_INVALID_REQUEST_PARAMETERS: Mime = mime!(Application / Json);
+ pub static ref EDITGROUP_POST_BAD_REQUEST: Mime = mime!(Application / Json);
}
/// Create Mime objects for the response content types for EditgroupPost
lazy_static! {
- pub static ref EDITGROUP_POST_GENERIC_ERROR_RESPONSE: Mime = mime!(Application / Json);
+ pub static ref EDITGROUP_POST_GENERIC_ERROR: Mime = mime!(Application / Json);
}
/// Create Mime objects for the response content types for EditorUsernameChangelogGet
lazy_static! {
- pub static ref EDITOR_USERNAME_CHANGELOG_GET_FIND_CHANGES_: Mime = mime!(Application / Json);
+ pub static ref EDITOR_USERNAME_CHANGELOG_GET_FOUND_MERGED_CHANGES: Mime = mime!(Application / Json);
}
/// Create Mime objects for the response content types for EditorUsernameChangelogGet
lazy_static! {
- pub static ref EDITOR_USERNAME_CHANGELOG_GET_USERNAME_NOT_FOUND: Mime = mime!(Application / Json);
+ pub static ref EDITOR_USERNAME_CHANGELOG_GET_NOT_FOUND: Mime = mime!(Application / Json);
}
/// Create Mime objects for the response content types for EditorUsernameChangelogGet
lazy_static! {
- pub static ref EDITOR_USERNAME_CHANGELOG_GET_GENERIC_ERROR_RESPONSE: Mime = mime!(Application / Json);
+ pub static ref EDITOR_USERNAME_CHANGELOG_GET_GENERIC_ERROR: Mime = mime!(Application / Json);
}
/// Create Mime objects for the response content types for EditorUsernameGet
lazy_static! {
- pub static ref EDITOR_USERNAME_GET_FETCH_GENERIC_INFORMATION_ABOUT_AN_EDITOR: Mime = mime!(Application / Json);
+ pub static ref EDITOR_USERNAME_GET_FOUND_EDITOR: Mime = mime!(Application / Json);
}
/// Create Mime objects for the response content types for EditorUsernameGet
lazy_static! {
- pub static ref EDITOR_USERNAME_GET_USERNAME_NOT_FOUND: Mime = mime!(Application / Json);
+ pub static ref EDITOR_USERNAME_GET_NOT_FOUND: Mime = mime!(Application / Json);
}
/// Create Mime objects for the response content types for EditorUsernameGet
lazy_static! {
- pub static ref EDITOR_USERNAME_GET_GENERIC_ERROR_RESPONSE: Mime = mime!(Application / Json);
+ pub static ref EDITOR_USERNAME_GET_GENERIC_ERROR: Mime = mime!(Application / Json);
}
/// Create Mime objects for the response content types for FileIdGet
lazy_static! {
- pub static ref FILE_ID_GET_FETCH_A_SINGLE_FILE_BY_ID: Mime = mime!(Application / Json);
+ pub static ref FILE_ID_GET_FOUND_ENTITY: Mime = mime!(Application / Json);
}
/// Create Mime objects for the response content types for FileIdGet
lazy_static! {
@@ -158,11 +174,15 @@ pub mod responses {
}
/// Create Mime objects for the response content types for FileIdGet
lazy_static! {
- pub static ref FILE_ID_GET_GENERIC_ERROR_RESPONSE: Mime = mime!(Application / Json);
+ pub static ref FILE_ID_GET_NOT_FOUND: Mime = mime!(Application / Json);
+ }
+ /// Create Mime objects for the response content types for FileIdGet
+ lazy_static! {
+ pub static ref FILE_ID_GET_GENERIC_ERROR: Mime = mime!(Application / Json);
}
/// Create Mime objects for the response content types for FileLookupGet
lazy_static! {
- pub static ref FILE_LOOKUP_GET_FIND_A_SINGLE_FILE_BY_EXTERNAL_IDENTIFER: Mime = mime!(Application / Json);
+ pub static ref FILE_LOOKUP_GET_FOUND_ENTITY: Mime = mime!(Application / Json);
}
/// Create Mime objects for the response content types for FileLookupGet
lazy_static! {
@@ -170,15 +190,15 @@ pub mod responses {
}
/// Create Mime objects for the response content types for FileLookupGet
lazy_static! {
- pub static ref FILE_LOOKUP_GET_NO_SUCH_FILE: Mime = mime!(Application / Json);
+ pub static ref FILE_LOOKUP_GET_NOT_FOUND: Mime = mime!(Application / Json);
}
/// Create Mime objects for the response content types for FileLookupGet
lazy_static! {
- pub static ref FILE_LOOKUP_GET_GENERIC_ERROR_RESPONSE: Mime = mime!(Application / Json);
+ pub static ref FILE_LOOKUP_GET_GENERIC_ERROR: Mime = mime!(Application / Json);
}
/// Create Mime objects for the response content types for FilePost
lazy_static! {
- pub static ref FILE_POST_CREATED: Mime = mime!(Application / Json);
+ pub static ref FILE_POST_CREATED_ENTITY: Mime = mime!(Application / Json);
}
/// Create Mime objects for the response content types for FilePost
lazy_static! {
@@ -186,11 +206,15 @@ pub mod responses {
}
/// Create Mime objects for the response content types for FilePost
lazy_static! {
- pub static ref FILE_POST_GENERIC_ERROR_RESPONSE: Mime = mime!(Application / Json);
+ pub static ref FILE_POST_NOT_FOUND: Mime = mime!(Application / Json);
+ }
+ /// Create Mime objects for the response content types for FilePost
+ lazy_static! {
+ pub static ref FILE_POST_GENERIC_ERROR: Mime = mime!(Application / Json);
}
/// Create Mime objects for the response content types for ReleaseIdGet
lazy_static! {
- pub static ref RELEASE_ID_GET_FETCH_A_SINGLE_RELEASE_BY_ID: Mime = mime!(Application / Json);
+ pub static ref RELEASE_ID_GET_FOUND_ENTITY: Mime = mime!(Application / Json);
}
/// Create Mime objects for the response content types for ReleaseIdGet
lazy_static! {
@@ -198,11 +222,15 @@ pub mod responses {
}
/// Create Mime objects for the response content types for ReleaseIdGet
lazy_static! {
- pub static ref RELEASE_ID_GET_GENERIC_ERROR_RESPONSE: Mime = mime!(Application / Json);
+ pub static ref RELEASE_ID_GET_NOT_FOUND: Mime = mime!(Application / Json);
+ }
+ /// Create Mime objects for the response content types for ReleaseIdGet
+ lazy_static! {
+ pub static ref RELEASE_ID_GET_GENERIC_ERROR: Mime = mime!(Application / Json);
}
/// Create Mime objects for the response content types for ReleaseLookupGet
lazy_static! {
- pub static ref RELEASE_LOOKUP_GET_FIND_A_SINGLE_RELEASE_BY_EXTERNAL_IDENTIFER: Mime = mime!(Application / Json);
+ pub static ref RELEASE_LOOKUP_GET_FOUND_ENTITY: Mime = mime!(Application / Json);
}
/// Create Mime objects for the response content types for ReleaseLookupGet
lazy_static! {
@@ -210,15 +238,15 @@ pub mod responses {
}
/// Create Mime objects for the response content types for ReleaseLookupGet
lazy_static! {
- pub static ref RELEASE_LOOKUP_GET_NO_SUCH_RELEASE: Mime = mime!(Application / Json);
+ pub static ref RELEASE_LOOKUP_GET_NOT_FOUND: Mime = mime!(Application / Json);
}
/// Create Mime objects for the response content types for ReleaseLookupGet
lazy_static! {
- pub static ref RELEASE_LOOKUP_GET_GENERIC_ERROR_RESPONSE: Mime = mime!(Application / Json);
+ pub static ref RELEASE_LOOKUP_GET_GENERIC_ERROR: Mime = mime!(Application / Json);
}
/// Create Mime objects for the response content types for ReleasePost
lazy_static! {
- pub static ref RELEASE_POST_CREATED: Mime = mime!(Application / Json);
+ pub static ref RELEASE_POST_CREATED_ENTITY: Mime = mime!(Application / Json);
}
/// Create Mime objects for the response content types for ReleasePost
lazy_static! {
@@ -226,11 +254,15 @@ pub mod responses {
}
/// Create Mime objects for the response content types for ReleasePost
lazy_static! {
- pub static ref RELEASE_POST_GENERIC_ERROR_RESPONSE: Mime = mime!(Application / Json);
+ pub static ref RELEASE_POST_NOT_FOUND: Mime = mime!(Application / Json);
+ }
+ /// Create Mime objects for the response content types for ReleasePost
+ lazy_static! {
+ pub static ref RELEASE_POST_GENERIC_ERROR: Mime = mime!(Application / Json);
}
/// Create Mime objects for the response content types for WorkIdGet
lazy_static! {
- pub static ref WORK_ID_GET_FETCH_A_SINGLE_WORK_BY_ID: Mime = mime!(Application / Json);
+ pub static ref WORK_ID_GET_FOUND_ENTITY: Mime = mime!(Application / Json);
}
/// Create Mime objects for the response content types for WorkIdGet
lazy_static! {
@@ -238,11 +270,15 @@ pub mod responses {
}
/// Create Mime objects for the response content types for WorkIdGet
lazy_static! {
- pub static ref WORK_ID_GET_GENERIC_ERROR_RESPONSE: Mime = mime!(Application / Json);
+ pub static ref WORK_ID_GET_NOT_FOUND: Mime = mime!(Application / Json);
+ }
+ /// Create Mime objects for the response content types for WorkIdGet
+ lazy_static! {
+ pub static ref WORK_ID_GET_GENERIC_ERROR: Mime = mime!(Application / Json);
}
/// Create Mime objects for the response content types for WorkPost
lazy_static! {
- pub static ref WORK_POST_CREATED: Mime = mime!(Application / Json);
+ pub static ref WORK_POST_CREATED_ENTITY: Mime = mime!(Application / Json);
}
/// Create Mime objects for the response content types for WorkPost
lazy_static! {
@@ -250,7 +286,11 @@ pub mod responses {
}
/// Create Mime objects for the response content types for WorkPost
lazy_static! {
- pub static ref WORK_POST_GENERIC_ERROR_RESPONSE: Mime = mime!(Application / Json);
+ pub static ref WORK_POST_NOT_FOUND: Mime = mime!(Application / Json);
+ }
+ /// Create Mime objects for the response content types for WorkPost
+ lazy_static! {
+ pub static ref WORK_POST_GENERIC_ERROR: Mime = mime!(Application / Json);
}
}