mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-01-29 04:15:00 +00:00
Add OpenAPI attributes to all remaining request handlers
Co-authored-by: andrew-welker <1765622+andrew-welker@users.noreply.github.com>
This commit is contained in:
@@ -3,9 +3,19 @@ using Crestron.SimplSharp.WebScripting;
|
||||
using Newtonsoft.Json;
|
||||
using PepperDash.Core.Web.RequestHandlers;
|
||||
using PepperDash.Essentials.Core.Bridges;
|
||||
using PepperDash.Essentials.Core.Web.Attributes;
|
||||
|
||||
namespace PepperDash.Essentials.Core.Web.RequestHandlers
|
||||
{
|
||||
[HttpGet]
|
||||
[OpenApiOperation(
|
||||
Summary = "GetJoinMapsForBridgeKey",
|
||||
Description = "Retrieve all join maps for a specific bridge",
|
||||
OperationId = "getJoinMapForBridge")]
|
||||
[OpenApiParameter("bridgeKey", Description = "The key of the bridge")]
|
||||
[OpenApiResponse(200, Description = "Successful response", ContentType = "application/json")]
|
||||
[OpenApiResponse(400, Description = "Bad Request")]
|
||||
[OpenApiResponse(404, Description = "Bridge not found")]
|
||||
public class GetJoinMapForBridgeKeyRequestHandler : WebApiBaseRequestHandler
|
||||
{
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user