OperationModel

data class OperationModel(var tags: List<String>? = null, var summary: String? = null, var description: String? = null, var externalDocs: ExternalDocumentationModel? = null, var operationId: String? = null, var parameters: List<ParameterModel<*>>? = null, var requestBody: RequestBodyModel? = null, var responses: MutableMap<String, StatusResponseModel> = mutableMapOf(), var deprecated: Boolean? = null, var security: List<SecurityModel>? = null, var servers: List<ServerModel>? = null) : DataModel(source)

Constructors

Link copied to clipboard
constructor(tags: List<String>? = null, summary: String? = null, description: String? = null, externalDocs: ExternalDocumentationModel? = null, operationId: String? = null, parameters: List<ParameterModel<*>>? = null, requestBody: RequestBodyModel? = null, responses: MutableMap<String, StatusResponseModel> = mutableMapOf(), deprecated: Boolean? = null, security: List<SecurityModel>? = null, servers: List<ServerModel>? = null)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open fun serialize(): Map<String, Any?>