Skip to content
DocsTry Aspire
DocsTry

PostaEndpoint Constructors

RecordConstructors1 member
Describes a Posta API operation.
Constructor(HttpMethod, string, PostaAuthentication, bool, string?)Section titled Constructor(HttpMethod, string, PostaAuthentication, bool, string?)
Describes a Posta API operation.
public record PostaEndpoint
{
public PostaEndpoint(
HttpMethod Method,
string Path,
PostaAuthentication Authentication,
bool IsImplemented = true,
string? Documentation = null)
{
// ...
}
}
MethodHttpMethodThe HTTP method.
PathstringThe relative path template.
AuthenticationPostaAuthenticationThe authentication required by the operation.
IsImplementedbooloptionalWhether the published OpenAPI contract is complete enough for the default transport.
Documentationstring?optionalAn optional implementation note.