RemoteSpec class
Provides the location for the remote specification.
Provides basic support for fetching remote specification files hidden behind an authenticated endpoint.
By default when no url is provided a default Uri.http to localhost:8080/ is used.
This contains authentication information for fetching the OAS spec ONLY. This does not apply security to the entry points defined in the OAS spec.
Constructors
- RemoteSpec({required String path, RemoteSpecHeaderDelegate headerDelegate = const RemoteSpecHeaderDelegate()})
-
const
- RemoteSpec.empty()
-
const
-
RemoteSpec.fromMap(Map<
String, dynamic> map)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- headerDelegate → RemoteSpecHeaderDelegate
-
final
- path → String
-
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- url → Uri
-
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJsonMap(
) → Map< String, dynamic> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited