Added `AddEnvelopeReceiverLoginOperation` to `AuthProxyDocumentFilter` to define a new Swagger operation for the `/api/Auth/envelope-receiver/{key}` endpoint. Introduced the `EnvelopeReceiverLogin` record for the request body. Updated `yarp.json` to configure routing for the new endpoint, ensuring the `cookie` query parameter is always set to `true`. Modified `Apply` to include the new operation in Swagger documentation.
8 lines
268 B
C#
8 lines
268 B
C#
namespace EnvelopeGenerator.API.Models;
|
|
|
|
/// <summary>
|
|
/// Request body for the envelope-receiver login endpoint.
|
|
/// </summary>
|
|
/// <param name="AccessCode">The access code sent to the receiver.</param>
|
|
public record EnvelopeReceiverLogin(string? AccessCode = null);
|