Represents a HTTP operation (a path/method pair) in the OpenAPI specification.

Static Methods

idForMethod(Object classInstance, Symbol methodSymbol) → String

symbolForID(String operationId, Object classInstance) → Symbol

Constructors

APIOperation()

Properties

consumes → List<ContentType>

read / write
deprecated → bool

read / write
description → String

read / write
id → String

read / write
method → String

read / write
parameters → List<APIParameter>

read / write
produces → List<ContentType>

read / write
requestBody APIRequestBody

read / write
responses → List<APIResponse>

read / write
security → List<APISecurityRequirement>

read / write
summary → String

read / write
tags → List<String>

read / write
hashCode → int

The hash code for this object.

read-only, inherited
runtimeType → Type

A representation of the runtime type of the object.

read-only, inherited

Operators

operator ==(other) → bool

The equality operator.

inherited

Methods

asMap() → Map<String, dynamic>

noSuchMethod(Invocation invocation) → dynamic

Invoked when a non-existent method or property is accessed.

inherited
toString() → String

Returns a string representation of this object.

inherited