documentOperationDescription method Null safety
- APIDocumentContext context,
- 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;
}