Components
data class Components(val schemas: MutableMap<String, JsonSchema> = mutableMapOf(), val securitySchemes: MutableMap<String, SecuritySchema> = mutableMapOf())
Content copied to clipboard
Holds a set of reusable objects for different aspects of the OAS. All objects defined within the components object will have no effect on the API unless they are explicitly referenced from properties outside the components object.
https://spec.openapis.org/oas/v3.1.0#components-object
Constructors
Link copied to clipboard
fun Components(schemas: MutableMap<String, JsonSchema> = mutableMapOf(), securitySchemes: MutableMap<String, SecuritySchema> = mutableMapOf())
Content copied to clipboard