OpenAPIModel

data class OpenAPIModel(var info: InfoModel = InfoModel(), var openapi: String = "3.0.0", var servers: MutableList<ServerModel> = mutableListOf(), var paths: MutableMap<String, PathItemModel> = mutableMapOf(), var components: ComponentsModel = ComponentsModel(), var security: LinkedHashSet<SecurityModel> = LinkedHashSet(), var tags: LinkedHashSet<TagModel> = LinkedHashSet(), var externalDocs: ExternalDocumentationModel? = null) : DataModel(source)

Constructors

Link copied to clipboard
constructor(info: InfoModel = InfoModel(), openapi: String = "3.0.0", servers: MutableList<ServerModel> = mutableListOf(), paths: MutableMap<String, PathItemModel> = mutableMapOf(), components: ComponentsModel = ComponentsModel(), security: LinkedHashSet<SecurityModel> = LinkedHashSet(), tags: LinkedHashSet<TagModel> = LinkedHashSet(), externalDocs: ExternalDocumentationModel? = 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

Functions

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