documentOperationDescription method Null safety

String? documentOperationDescription(
  1. APIDocumentContext context,
  2. Operation? operation
)

Returns a documented description for operation.

By default, this method returns null and the description is derived from documentation comments above the operation method. You may override this method to manually add a description to an operation.

Implementation

String? documentOperationDescription(
  APIDocumentContext context,
  Operation? operation,
) {
  return null;
}