mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-03 08:57:54 +00:00
format api annotations
This commit is contained in:
1 parent
74ed7f365b
commit
e1ea2cdf67
1 file changed
+88
-34
@@ -111,55 +111,109 @@ use crate::http_server::web_utils::response_success_helpers::*;
|
||||
UserDetailsLight,
|
||||
Visibility,
|
||||
|
||||
// Inference
|
||||
// Endpoint API types
|
||||
BatchGetUserBookmarksError,
|
||||
BatchGetUserBookmarksQueryParams,
|
||||
BatchGetUserBookmarksResponse,
|
||||
BatchGetUserRatingError,
|
||||
BatchGetUserRatingQueryParams,
|
||||
BatchGetUserRatingResponse,
|
||||
BookmarkRow,
|
||||
CreateUserBookmarkError,
|
||||
CreateUserBookmarkRequest,
|
||||
CreateUserBookmarkSuccessResponse,
|
||||
DeleteMediaFileError,
|
||||
DeleteMediaFilePathInfo,
|
||||
DeleteMediaFileRequest,
|
||||
DeleteUserBookmarkError,
|
||||
DeleteUserBookmarkPathInfo,
|
||||
DeleteUserBookmarkRequest,
|
||||
DeleteWeightError,
|
||||
DeleteWeightError,
|
||||
DeleteWeightPathInfo,
|
||||
DeleteWeightRequest,
|
||||
DeleteWeightRequest,
|
||||
EnqueueFbxToGltfRequest,
|
||||
EnqueueFbxToGltfRequestError,
|
||||
EnqueueFbxToGltfRequestSuccessResponse,
|
||||
EnqueueTTSRequest,
|
||||
EnqueueTTSRequestError,
|
||||
EnqueueTTSRequestSuccessResponse,
|
||||
// Media Files
|
||||
DeleteMediaFileError,
|
||||
DeleteMediaFilePathInfo,
|
||||
DeleteMediaFileRequest,
|
||||
GetMediaFileError,
|
||||
GetMediaFileModelInfo,
|
||||
GetMediaFilePathInfo,
|
||||
GetMediaFileSuccessResponse,
|
||||
MediaFileInfo,
|
||||
// Model Weights
|
||||
GetWeightPathInfo,GetWeightResponse,GetWeightError,
|
||||
UpdateWeightRequest,UpdateWeightRequest,UpdateWeightPathInfo,UpdateWeightRequest,UpdateWeightError,
|
||||
SetModelWeightCoverImageRequest,SetModelWeightCoverImageResponse,SetModelWeightCoverImagePathInfo,SetModelWeightCoverImageError,
|
||||
DeleteWeightPathInfo,DeleteWeightRequest,DeleteWeightError,DeleteWeightRequest,DeleteWeightError,
|
||||
UploadMediaSuccessResponse,MediaFileUploadError,
|
||||
GetProfilePathInfo,
|
||||
ProfileError,
|
||||
UserProfileModeratorFields,
|
||||
UserProfileRecordForResponse,
|
||||
UserProfileUserBadge,
|
||||
ListWeightError,ModelWeightForList,ListWeightError,
|
||||
ListAvailableWeightsQuery,ListAvailableWeightsSuccessResponse,ModelWeightForList,
|
||||
ListWeightsByUserError,ListWeightsByUserSuccessResponse,ListWeightsByUserPathInfo,Weight,
|
||||
WeightsData,MediaFileData,
|
||||
GetUserRatingError,
|
||||
GetUserRatingResponse,
|
||||
GetWeightError,
|
||||
GetWeightPathInfo,
|
||||
GetWeightResponse,
|
||||
ListAvailableWeightsQuery,
|
||||
ListAvailableWeightsSuccessResponse,
|
||||
ListDatasetsByUserError,
|
||||
ListDatasetsByUserPathInfo,
|
||||
ListDatasetsByUserSuccessResponse,
|
||||
ListFeaturedMediaFilesError,
|
||||
ListFeaturedMediaFilesSuccessResponse,
|
||||
ListMediaFilesError,
|
||||
ListMediaFilesForUserError,
|
||||
ListMediaFilesForUserPathInfo,
|
||||
ListMediaFilesForUserQueryParams,
|
||||
ListMediaFilesForUserSuccessResponse,
|
||||
ListMediaFilesQueryParams,
|
||||
ListMediaFilesSuccessResponse,
|
||||
ListUserBookmarksForEntityError,
|
||||
ListUserBookmarksForEntityPathInfo,
|
||||
ListUserBookmarksForEntitySuccessResponse,
|
||||
ListUserBookmarksForUserError,
|
||||
ListUserBookmarksForUserSuccessResponse,
|
||||
ListUserBookmarksPathInfo,
|
||||
ListWeightError,
|
||||
ListWeightError,
|
||||
ListWeightsByUserError,
|
||||
ListWeightsByUserPathInfo,
|
||||
ListWeightsByUserSuccessResponse,
|
||||
MediaFile,
|
||||
MediaFileData,
|
||||
MediaFileForUserListItem,
|
||||
MediaFileForUserListItem,
|
||||
MediaFileInfo,
|
||||
MediaFileListItem,
|
||||
MediaFileUploadError,
|
||||
ModelWeightForList,
|
||||
ModelWeightForList,
|
||||
ModelWeightSearchResult,
|
||||
ProfileError,
|
||||
RatingRow,
|
||||
SearchModelWeightsError,
|
||||
SearchModelWeightsRequest,
|
||||
SearchModelWeightsSuccessResponse,
|
||||
SetModelWeightCoverImageError,
|
||||
SetModelWeightCoverImagePathInfo,
|
||||
SetModelWeightCoverImageRequest,
|
||||
SetModelWeightCoverImageResponse,
|
||||
SetUserRatingError,
|
||||
SetUserRatingRequest,
|
||||
SetUserRatingResponse,
|
||||
UpdateWeightError,
|
||||
UpdateWeightPathInfo,
|
||||
UpdateWeightRequest,
|
||||
UpdateWeightRequest,
|
||||
UpdateWeightRequest,
|
||||
UploadMediaSuccessResponse,
|
||||
UserBookmarkDetailsForUserList,
|
||||
UserBookmarkEntityType,
|
||||
UserBookmarkForEntityListItem,
|
||||
UserBookmarkListItem,
|
||||
UserProfileModeratorFields,
|
||||
UserProfileRecordForResponse,
|
||||
UserProfileUserBadge,
|
||||
UserRatingEntityType,
|
||||
UserRatingValue,
|
||||
Weight,
|
||||
WeightsData,
|
||||
ZsDatasetRecord,
|
||||
SearchModelWeightsRequest,SearchModelWeightsSuccessResponse,ModelWeightSearchResult,SearchModelWeightsError,
|
||||
BatchGetUserRatingQueryParams,BatchGetUserRatingResponse,BatchGetUserRatingError,RatingRow,
|
||||
BatchGetUserBookmarksQueryParams,BatchGetUserBookmarksResponse,BatchGetUserBookmarksError,BookmarkRow,
|
||||
ListFeaturedMediaFilesSuccessResponse,MediaFile, ListFeaturedMediaFilesError,
|
||||
ListMediaFilesSuccessResponse, ListMediaFilesError, MediaFileListItem, ListMediaFilesQueryParams,
|
||||
ListMediaFilesForUserSuccessResponse,ListMediaFilesForUserQueryParams,ListMediaFilesForUserError,ListMediaFilesForUserPathInfo,
|
||||
MediaFileForUserListItem, MediaFileForUserListItem,
|
||||
UserBookmarkDetailsForUserList,UserBookmarkEntityType,
|
||||
CreateUserBookmarkRequest,CreateUserBookmarkError,CreateUserBookmarkSuccessResponse,
|
||||
DeleteUserBookmarkPathInfo,DeleteUserBookmarkError,DeleteUserBookmarkRequest,
|
||||
ListUserBookmarksPathInfo,ListUserBookmarksForUserError,ListUserBookmarksForUserSuccessResponse,UserBookmarkListItem,
|
||||
ListUserBookmarksForEntityPathInfo,ListUserBookmarksForEntityError,ListUserBookmarksForEntitySuccessResponse,UserBookmarkForEntityListItem,
|
||||
GetUserRatingError,GetUserRatingResponse,UserRatingValue,UserRatingEntityType,
|
||||
SetUserRatingError,SetUserRatingRequest,SetUserRatingResponse,
|
||||
))
|
||||
)]
|
||||
pub struct ApiDoc;
|
||||
Reference in new issue
Block a user