add missing httpMethod param to operation for backwards compatibility with swagger