ComponentsObjectV3 class
Components object to hold reusable components for the OpenAPI document.
- Implementers
Constructors
-
ComponentsObjectV3({Map<
String, OpenApiObject< ? schemas, Map<Map> >String, OpenApiObject< ? responses, Map<Map> >String, OpenApiObject< ? parameters, Map<Map> >String, OpenApiObject< ? examples, Map<Map> >String, OpenApiObject< ? requestBodies, Map<Map> >String, OpenApiObject< ? headers, Map<Map> >String, OpenApiObject< ? securitySchemes, Map<Map> >String, OpenApiObject< ? links, Map<Map> >String, OpenApiObject< ? callbacks})Map> > - 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
-
links
→ Map<
String, OpenApiObject< ?Map> > -
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