From be3f832e11ee0317bfc86d7fbe2a895442041703 Mon Sep 17 00:00:00 2001 From: XShine555 Date: Fri, 29 May 2026 02:28:35 +0200 Subject: [PATCH] PascalCase --- WebApi/Endpoints/PlayListEndpoints.cs | 14 +++++++------- WebApi/Endpoints/TrackEndpoints.cs | 12 ++++++------ WebApi/Endpoints/UserEndpoints.cs | 6 +++--- 3 files changed, 16 insertions(+), 16 deletions(-) diff --git a/WebApi/Endpoints/PlayListEndpoints.cs b/WebApi/Endpoints/PlayListEndpoints.cs index 49dee8e..dcada56 100644 --- a/WebApi/Endpoints/PlayListEndpoints.cs +++ b/WebApi/Endpoints/PlayListEndpoints.cs @@ -16,33 +16,33 @@ public static class PlayListEndpoints group.MapGet("/", GetPlayLists) .WithName("GetPlayLists") - .WithSummary("Get paginated PlayLists."); + .WithSummary("Get Paginated PlayLists."); group.MapGet("/{id}", GetPlayListById) .WithName("GetPlayListById") - .WithSummary("Get a PlayList by Id."); + .WithSummary("Get A PlayList By Id."); group.MapGet("/users/{userId}", GetPlayListsByUserId) .WithName("GetPlayListsByUserId") - .WithSummary("Get paginated PlayLists for a User."); + .WithSummary("Get Paginated PlayLists For A User."); group.MapPost("/users/{userId}", CreatePlayList) .WithName("CreatePlayList") - .WithSummary("Create a new PlayList.") + .WithSummary("Create A New PlayList.") .AddEndpointFilter>(); group.MapPut("/{playlistId}/users/{userId}", UpdatePlayList) .WithName("UpdatePlayList") - .WithSummary("Update an existing PlayList.") + .WithSummary("Update An Existing PlayList.") .AddEndpointFilter>(); group.MapDelete("/{playlistId}/users/{userId}", DeletePlayList) .WithName("DeletePlayList") - .WithSummary("Delete a PlayList."); + .WithSummary("Delete A PlayList."); group.MapPost("/upload-picture/users/{userId}", RequestPlayListPictureUpload) .WithName("RequestPlayListPictureUpload") - .WithSummary("Request a pre-signed URL to upload a PlayList picture.") + .WithSummary("Request A Pre-Signed URL To Upload A PlayList Picture.") .AddEndpointFilter>(); return app; diff --git a/WebApi/Endpoints/TrackEndpoints.cs b/WebApi/Endpoints/TrackEndpoints.cs index 121466d..ac63e24 100644 --- a/WebApi/Endpoints/TrackEndpoints.cs +++ b/WebApi/Endpoints/TrackEndpoints.cs @@ -16,28 +16,28 @@ public static class TrackEndpoints group.MapGet("/", GetTracks) .WithName("GetTracks") - .WithSummary("Get paginated Tracks."); + .WithSummary("Get Paginated Tracks."); group.MapGet("/{id}", GetTrackById) .WithName("GetTrackById") - .WithSummary("Get a Track by Id."); + .WithSummary("Get A Track By Id."); group.MapGet("/users/{userId}", GetTracksByUserId) .WithName("GetTracksByUserId") - .WithSummary("Get paginated Tracks for a User."); + .WithSummary("Get Paginated Tracks For A User."); group.MapPost("/users/{userId}", CreateTrack) .WithName("CreateTrack") - .WithSummary("Create a new Track.") + .WithSummary("Create A New Track.") .AddEndpointFilter>(); group.MapDelete("/{trackId}/users/{userId}", DeleteTrack) .WithName("DeleteTrack") - .WithSummary("Delete a Track."); + .WithSummary("Delete A Track."); group.MapPost("/upload-urls/users/{userId}", RequestTrackUploadUrls) .WithName("RequestTrackUploadUrls") - .WithSummary("Request pre-signed URLs to upload Track picture and audio.") + .WithSummary("Request Pre-Signed URLs To Upload Track Picture And Audio.") .AddEndpointFilter>(); return app; diff --git a/WebApi/Endpoints/UserEndpoints.cs b/WebApi/Endpoints/UserEndpoints.cs index 9557c58..63bb430 100644 --- a/WebApi/Endpoints/UserEndpoints.cs +++ b/WebApi/Endpoints/UserEndpoints.cs @@ -16,15 +16,15 @@ public static class UserEndpoints group.MapGet("/", GetUsers) .WithName("GetUsers") - .WithSummary("Get paginated Users."); + .WithSummary("Get Paginated Users."); group.MapGet("/{id}", GetUserById) .WithName("GetUserById") - .WithSummary("Get a User by Id."); + .WithSummary("Get A User By Id."); group.MapPost("/", CreateUser) .WithName("CreateUser") - .WithSummary("Create a new User.") + .WithSummary("Create A New User.") .AddEndpointFilter>(); return app;