mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-03 16:11:10 +00:00
Renders themed pages as swappable sections with path-mirrored template scopes and a Razor fallback
This commit is contained in:
1 parent
f17e685239
commit
e37bb3ecc6
24 files changed
+351
-187
No files matched your search
+1
-1
@@ -16,7 +16,7 @@ using System.Threading.Tasks;
|
||||
namespace Lumina.Presentation.Api.Core.Endpoints.Themes.Queries.GetThemeTemplate;
|
||||
|
||||
/// <summary>
|
||||
/// API endpoint for the <c>/themes/{themeId}/templates/{pageKey}</c> route.
|
||||
/// API endpoint for the <c>/themes/{themeId}/templates/{*pageKey}</c> route.
|
||||
/// </summary>
|
||||
public class GetThemeTemplateEndpoint : BaseEndpoint<GetThemeTemplateRequest, IResult>
|
||||
{
|
||||
|
||||
+3
-3
@@ -56,7 +56,7 @@ public class GetThemeTemplateEndpointSummary : Summary<GetThemeTemplateEndpoint,
|
||||
title = "General.Validation",
|
||||
status = 422,
|
||||
detail = "OneOrMoreValidationErrorsOccurred",
|
||||
instance = "/api/v1/themes/{themeId}/templates/{pageKey}",
|
||||
instance = "/api/v1/themes/{themeId}/templates/{*pageKey}",
|
||||
errors = new Dictionary<string, string[]>
|
||||
{
|
||||
{
|
||||
@@ -78,7 +78,7 @@ public class GetThemeTemplateEndpointSummary : Summary<GetThemeTemplateEndpoint,
|
||||
title = "General.Failure",
|
||||
status = 403,
|
||||
detail = "ThemeNotAvailable",
|
||||
instance = "/api/v1/themes/{themeId}/templates/{pageKey}",
|
||||
instance = "/api/v1/themes/{themeId}/templates/{*pageKey}",
|
||||
traceId = "00-a712bbf99ca8ab485f86a762ae5ae74d-b3a2eb78813b0a5d-00"
|
||||
}
|
||||
);
|
||||
@@ -90,7 +90,7 @@ public class GetThemeTemplateEndpointSummary : Summary<GetThemeTemplateEndpoint,
|
||||
title = "General.NotFound",
|
||||
status = 404,
|
||||
detail = "ThemeNotFound",
|
||||
instance = "/api/v1/themes/{themeId}/templates/{pageKey}",
|
||||
instance = "/api/v1/themes/{themeId}/templates/{*pageKey}",
|
||||
traceId = "00-57d15dadd702dbd4aeb5dc9b7cee68ee-9330237dbb2ce0e5-00"
|
||||
}
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user