Skip to main content

OpenApiOperation

Assembly: ServiceStack.Api.OpenApi.dll
View Source
Declaration
[DataContract]
public class OpenApiOperation

Properties

RequestType

View Source
Declaration
[IgnoreDataMember]
public string RequestType { get; set; }

Tags

View Source
Declaration
[DataMember(Name = "tags")]
public List<string> Tags { get; set; }

Summary

View Source
Declaration
[DataMember(Name = "summary")]
public string Summary { get; set; }

Description

View Source
Declaration
[DataMember(Name = "description")]
public string Description { get; set; }

ExternalDocs

View Source
Declaration
[DataMember(Name = "externalDocs")]
public OpenApiExternalDocumentation ExternalDocs { get; set; }

OperationId

View Source
Declaration
[DataMember(Name = "operationId")]
public string OperationId { get; set; }

Consumes

View Source
Declaration
[DataMember(Name = "consumes")]
public List<string> Consumes { get; set; }

Produces

View Source
Declaration
[DataMember(Name = "produces")]
public List<string> Produces { get; set; }

Parameters

View Source
Declaration
[DataMember(Name = "parameters")]
public List<OpenApiParameter> Parameters { get; set; }

Responses

View Source
Declaration
[DataMember(Name = "responses")]
public OrderedDictionary<string, OpenApiResponse> Responses { get; set; }

Schemes

View Source
Declaration
[DataMember(Name = "schemes")]
public List<string> Schemes { get; set; }

Deprecated

View Source
Declaration
[DataMember(Name = "deprecated")]
public bool Deprecated { get; set; }

Security

View Source
Declaration
[DataMember(Name = "security")]
public List<Dictionary<string, List<string>>> Security { get; set; }