ContractOperation class final
The facts of one REST operation of docs/api/openapi.yaml.
Constructors
Properties
- authzAction → String?
-
The authorization action of
x-authz-action(05), or null when the operation names none.final - hashCode → int
-
The hash code for this object.
no setterinherited
- method → String
-
The HTTP method in upper case.
final
- operationId → String
-
The
operationId.final - path → String
-
The path template below
/api/v1, for example/threads/{thread_id}/messages.final - requestSchema → String?
-
The schema name of the JSON request body, or null.
final
-
responseSchemas
→ Map<
String, String?> -
The schema name of the JSON body per status (
201,4XX,default); null for a response without body.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- secured → bool
-
Whether the operation needs a token (
securityis not[]).final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited