mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-03 15:11:10 +00:00
Refers to routes instead of requests in endpoint summaries
This commit is contained in:
1 parent
37dff6039d
commit
f3e465255e
23 files changed
+23
-23
No files matched your search
+1
-1
@@ -28,7 +28,7 @@ public class GetBooksEndpointSummary : Summary<GetBooksEndpoint, GetBooksRequest
|
||||
public GetBooksEndpointSummary()
|
||||
{
|
||||
Summary = "Retrieves the list of books of a media library.";
|
||||
Description = "Returns the paginated, filterable list of the books of the media library identified by the request, with the full details of each book. The page is returned to an Admin, who can see the books of all libraries, or to the owner of the library.";
|
||||
Description = "Returns the paginated, filterable list of the books of the media library identified by the route, with the full details of each book. The page is returned to an Admin, who can see the books of all libraries, or to the owner of the library.";
|
||||
|
||||
ExampleRequest = new GetBooksRequest(
|
||||
CurrentPage: 1,
|
||||
|
||||
+1
-1
@@ -23,7 +23,7 @@ public class GetBooksLiteEndpointSummary : Summary<GetBooksLiteEndpoint, GetBook
|
||||
public GetBooksLiteEndpointSummary()
|
||||
{
|
||||
Summary = "Retrieves the list of lightweight book details of a media library.";
|
||||
Description = "Returns the paginated, filterable list of the lightweight details of the books of the media library identified by the request, suitable for card-style navigation. The page is returned to an Admin, who can see the books of all libraries, or to the owner of the library.";
|
||||
Description = "Returns the paginated, filterable list of the lightweight details of the books of the media library identified by the route, suitable for card-style navigation. The page is returned to an Admin, who can see the books of all libraries, or to the owner of the library.";
|
||||
|
||||
ExampleRequest = new GetBooksLiteRequest(
|
||||
CurrentPage: 1,
|
||||
|
||||
+1
-1
@@ -28,7 +28,7 @@ public class UpdateBookEndpointSummary : Summary<UpdateBookEndpoint, UpdateBookR
|
||||
public UpdateBookEndpointSummary()
|
||||
{
|
||||
Summary = "Updates an existing book.";
|
||||
Description = "Updates the details of the book identified by the request, returning the full details of the updated book. The book is updated by an Admin, who can update the books of all libraries, or by the owner of the library of the book.";
|
||||
Description = "Updates the details of the book identified by the route, returning the full details of the updated book. The book is updated by an Admin, who can update the books of all libraries, or by the owner of the library of the book.";
|
||||
|
||||
RequestParam(r => r.Metadata, "The written content metadata of the book. Required.");
|
||||
RequestParam(r => r.Metadata!.Title, "The title of the book. Required.");
|
||||
|
||||
+1
-1
@@ -20,7 +20,7 @@ public class UpdateBookCoverEndpointSummary : Summary<UpdateBookCoverEndpoint, E
|
||||
public UpdateBookCoverEndpointSummary()
|
||||
{
|
||||
Summary = "Updates the cover image of a book.";
|
||||
Description = "Updates the cover image of the book identified by the request, with the image uploaded in the multipart form of the request.";
|
||||
Description = "Updates the cover image of the book identified by the route, with the image uploaded in the multipart form of the request.";
|
||||
|
||||
Response(200, "The relative path of the stored cover image is returned.",
|
||||
example: new UpdateBookCoverResponse(
|
||||
|
||||
Reference in new issue
Block a user