OperationDocumenter is an interface that can be implemented by an API or group to document operations in the OpenAPI document. This bypasses the normal `huma.Register` logic and provides complete customization of how operations are documented.
| 10 | // normal `huma.Register` logic and provides complete customization of how |
| 11 | // operations are documented. |
| 12 | type OperationDocumenter interface { |
| 13 | // DocumentOperation adds an operation to the OpenAPI document. This is |
| 14 | // called by `huma.Register` when a new operation is registered. |
| 15 | DocumentOperation(op *Operation) |
| 16 | } |
| 17 | |
| 18 | // PrefixModifier provides a fan-out to register one or more operations with |
| 19 | // the given prefix for every one operation added to a group. |
no outgoing calls
no test coverage detected
searching dependent graphs…