OpenApiV30Components class final
Named definitions for use elsewhere in the document.
Constructors
-
OpenApiV30Components({Map<
String, OpenApiV30RefOr< ? schemas, Map<OpenApiV30Schema> >String, OpenApiV30RefOr< ? responses, Map<OpenApiV30Response> >String, OpenApiV30RefOr< ? parameters, Map<OpenApiV30Parameter> >String, OpenApiV30RefOr< ? examples, Map<OpenApiV30Example> >String, OpenApiV30RefOr< ? requestBodies, Map<OpenApiV30RequestBody> >String, OpenApiV30RefOr< ? headers, Map<OpenApiV30Header> >String, OpenApiV30RefOr< ? securitySchemes, Map<OpenApiV30SecurityScheme> >String, OpenApiV30RefOr< ? links, Map<OpenApiV30Link> >String, OpenApiV30RefOr< ? callbacks, Map<OpenApiV30Callback> >String, JsonValue> extensions = const {}, Map<String, JsonValue> extraFields = const {}}) - Groups reusable definitions by component type and name.
Properties
-
callbacks
→ Map<
String, OpenApiV30RefOr< ?OpenApiV30Callback> > -
Callback definitions indexed by name.
final
-
examples
→ Map<
String, OpenApiV30RefOr< ?OpenApiV30Example> > -
Reusable examples indexed by component name.
final
-
extensions
→ Map<
String, JsonValue> -
Specification extensions keyed by their
x-names. Defaults to empty.finalinherited -
extraFields
→ Map<
String, JsonValue> -
Unrecognized fields retained for JSON export. Defaults to empty.
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
-
headers
→ Map<
String, OpenApiV30RefOr< ?OpenApiV30Header> > -
Reusable headers indexed by component name.
final
-
links
→ Map<
String, OpenApiV30RefOr< ?OpenApiV30Link> > -
Links to related operations, indexed by name.
final
-
parameters
→ Map<
String, OpenApiV30RefOr< ?OpenApiV30Parameter> > -
Reusable parameters indexed by component name.
final
-
requestBodies
→ Map<
String, OpenApiV30RefOr< ?OpenApiV30RequestBody> > -
Reusable request bodies indexed by component name.
final
-
responses
→ Map<
String, OpenApiV30RefOr< ?OpenApiV30Response> > -
Reusable responses indexed by component name.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
schemas
→ Map<
String, OpenApiV30RefOr< ?OpenApiV30Schema> > -
Reusable schemas indexed by component name.
final
-
securitySchemes
→ Map<
String, OpenApiV30RefOr< ?OpenApiV30SecurityScheme> > -
Reusable security schemes indexed by component name.
final
Methods
-
extraToJson(
) → Map< String, Object?> -
Exports extensions and unrecognized fields as JSON.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object?> -
Returns a detached JSON representation.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited