registerOperation

fun registerOperation(    path: String,     method: HttpMethod,     operation: OperationDsl.() -> Unit)

Register an OpenAPI operation from a path, HTTP method and operation builder.

This function will not apply hooks, you should apply hooks yourself by calling getHooksForRoute and applying them.

You should use describe instead of this function.