OpenApiV32Info class final
Title, version, and publication details of the described API.
Constructors
-
OpenApiV32Info({required String title, required String version, String? summary, String? description, String? termsOfService, OpenApiV32Contact? contact, OpenApiV32License? license, Map<
String, JsonValue> extensions = const {}, Map<String, JsonValue> extraFields = const {}}) - Records the API title and its declared version.
Properties
- contact → OpenApiV32Contact?
-
Contact details for the API.
final
- description → String?
-
Description supplied by the document author.
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
- license → OpenApiV32License?
-
License for use of the API.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- summary → String?
-
Short description supplied by the document author.
final
- termsOfService → String?
-
URL for the API terms of service.
final
- title → String
-
Human-readable title.
final
- version → String
-
Version of the described API from
info.version.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