ComponentsObjectV3 class

Components object to hold reusable components for the OpenAPI document.

Implementers

Constructors

ComponentsObjectV3({Map<String, OpenApiObject<Map>>? schemas, Map<String, OpenApiObject<Map>>? responses, Map<String, OpenApiObject<Map>>? parameters, Map<String, OpenApiObject<Map>>? examples, Map<String, OpenApiObject<Map>>? requestBodies, Map<String, OpenApiObject<Map>>? headers, Map<String, OpenApiObject<Map>>? securitySchemes, Map<String, OpenApiObject<Map>>? links, Map<String, OpenApiObject<Map>>? callbacks})
Creates a ComponentsObjectV3 with the given parameters.
ComponentsObjectV3.fromMap(Map data)
Creates a ComponentsObjectV3 from a map.
factory

Properties

callbacks Map<String, OpenApiObject<Map>>?
A map of callback names to callback objects.
final
examples Map<String, OpenApiObject<Map>>?
A map of example names to example objects.
final
hashCode int
The hash code for this object.
no setterinherited
headers Map<String, OpenApiObject<Map>>?
A map of header names to header objects.
final
A map of link names to link objects.
final
parameters Map<String, OpenApiObject<Map>>?
A map of parameter names to parameter objects.
final
requestBodies Map<String, OpenApiObject<Map>>?
A map of request body names to request body objects.
final
responses Map<String, OpenApiObject<Map>>?
A map of response names to response objects.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
schemas Map<String, OpenApiObject<Map>>?
A map of schema names to schema objects.
final
securitySchemes Map<String, OpenApiObject<Map>>?
A map of security scheme names to security scheme objects.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, dynamic>
Converts the ComponentsObjectV3 to a map.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited